Powershell
Get-Alias iwrGet-Help Get-ChildItem
Get-Help Get-ChildItem -ExamplesGet-Command "Get-*"
Get-Command "*-Service"Get-NetTCPConnection | Get-Member$_ --> refers to the element which is piped# ? --> alias to where
# $_ --> refers to the ouptut of the Get-NetTCPConenction
# LocalAddress --> an members of the Get-NetTCPConnection cmdlet
Get-NetTCPConnection | ? {$_.LocalAddress -eq "127.0.0.1"}
Get-NetTCPConnection | Where-Object {$_.LocalAddress -eq "127.0.0.1"}# $null --> value of the emptry string in powershell
Get-Process | ? {$_.Path -ne $null } | Select-Object path# head
Get-Process | Get-Member | Select-Object -First 10
# tail
Get-Process | Get-Member | Select-Object -last 10Last updated