Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/StartAutomating/Posh

PowerShell made Posh
https://github.com/StartAutomating/Posh

colorization demo demos easy-to-use formatting-output powershell powershell-core powershell-module powershell-profile prompt prompt-generator rss-reader sleek terminal terminal-customization terminal-format

Last synced: 9 days ago
JSON representation

PowerShell made Posh

Awesome Lists containing this project

README

        


posh





❤️

Posh is a PowerShell module that makes PowerShell more fun to work with.

## Improving Formatting

Posh provides PowerShell formatting for all sorts of fun scenarios, like:

### Get-Command in color

Posh colorizes commands by verb.

~~~PowerShell
Get-Command
~~~

![Get-Command-In-Color](Assets/Get-Command-In-Color.gif)

### Get-Member in color

~~~PowerShell
Get-Command | Get-Member
~~~

![Get-Member-In-Color](Assets/Get-Member-In-Color.gif)

### Reflection Formatter

Posh provides a formatter for reflection, to help you explore types.

~~~PowerShell
[int] | Format-Custom
~~~

~~~PowerShell
[int] | Format-Custom -View System.Type.Full
~~~

It even works on generic types

~~~PowerShell
[Collections.Generic.Dictionary[string, PSObject]] |
Format-Custom -View System.Type.Full
~~~

![Reflection-Formatting](Assets/Reflection-Formatting.gif)

### Colorized XML

~~~PowerShell
[xml]""
~~~

![XML-In-Color](Assets/XML-In-Color.gif)

## How Posh Works

Posh is a somewhat unique PowerShell module in that it does not export commands.

Posh _only_ extends the types and formatting in PowerShell.

It is built using:

* [EZOut](https://github.com/StartAutomating/EZOut)
* [PipeScript](https://github.com/StartAutomating/PipeScript)
* [HelpOut](https://github.com/StartAutomating/HelpOut)