Posh

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.

Get-Command

Get-Command-In-Color

Get-Member in color

Get-Command | Get-Member 

Get-Member-In-Color

Reflection Formatter

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

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

It even works on generic types

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

Reflection-Formatting

Colorized XML

[xml]"<a><b attr='c'/></a>"

XML-In-Color

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: