Help
Commands
Get-Help
Help
Help
Help with paging (better)
Get-Help <cmdlet>
Help
Get-Help <cmdlet> -detailed
Detailed help
Get-Help <cmdlet> -examples
Usage examples
Get-Help <cmdlet> -full
Full help
Get-Help <cmdlet> -online
Online help (if available)
Help Get-EventS*
Supports Wildcards
Finding Commands
Display Commands
Get cmdlets and display them in order:
Get-Command -Type Cmdlet | Sort-Object -Property Noun | Format-Table -GroupBy Noun
Cleaner (by Noun):
get-command -Type Cmdlet | Select-Object -Property Noun, Name | Sort-Object Noun | Format-Table -GroupBy Noun
Grid View Window:
get-command -Type Cmdlet | Select-Object -Property Noun, Name | Sort-Object Noun | Out-GridView -Title "PowerShell Commands by Noun"
Get Functions:
get-command -Type Function | Select-Object -Property Noun, Name | Sort-Object Noun | Format-Table -GroupBy Noun
Grid View Window:
get-command -Type Function | Select-Object -Property Noun, Name | Sort-Object Noun | Out-GridView -Title "PowerShell Functions"
Get commands in a module:
Get-Command -Module Microsoft.PowerShell.Security, Microsoft.PowerShell.Utility
Finding Cmdlets
Get-Command
All available cmdlets
Get-Command Set*
Wildcard filter
Get-Command *Process
Wildcard filter
Get-Command –Verb Set
Filter cmdlets on verb "set"
Get-Command –Noun process
Filter on noun "process"
gmc
Alias
Cmdlet Aliases
Get-Alias
Show aliases
alias gcm
Expand an alias
New-Alias
Create custom alias
Export-Alias
Makes variables persistent across sessions
Last updated
Was this helpful?