Getting Help

Update-Help

Start by updating your local cache (run as admin, and sit back and drink tea)

update-help

If with errors

Update-Help  -Force -Ea 0

Getting help about cmdlets

Getting help about write-host

get-help write-host

Give me some examples

get-help Write-Host -examples

Tell me everything

get-help Write-Host -full

Getting help about cmdlets

The basics

get-command
get-command -Noun process
get-help start-process

Using the pipeline

get-command | Where-Object { $_.noun -match "process" }
get-command | ? { $_.noun -match "process" }

Finding alias

get-alias | select Name,ResolvedCommandName
get-alias -Name ft
get-alias -Name %

get-alias | ? { $_.ResolvedCommandName -eq "Where-Object"  }
get-alias | ? { $_.ResolvedCommandName -eq "Foreach-Object"  }
get-alias | ? { $_.ResolvedCommandName -eq "Get-Member"  }
get-alias | ? { $_.ResolvedCommandName -eq "Get-Alias"  }

Exploring Objects

Showing properties and methods with Get-Member

get-date | gm

results matching ""

    No results matching ""