powershell

Get-Help

Get-Help *COMMAND [-Verb VERB] [-Full] [-Examples] [-Parameter *] [| more]

Import-Module

Import-Module .\FILE [-Verbose]
Get-Command -Module MODULE_NAME

Output Formatting

Format-Table
Format-List

Out-GridView (opens a ui-based viewer)
Out-File .\FILE

multi-line strings

@"
blah
blah
"

count

COMMAND| Measure-Object
(COMMAND).count

Last updated