PowerShell

From no name for this wiki
Revision as of 08:49, 4 June 2022 by Claude (talk | contribs) (Pipes)
Jump to: navigation, search

Pipes

$_ Variable

Get-Service | WHERE {$_.status -eq "Running"} | SELECT displayname
# “$_.” defines current element in the pipe


Get-Service | Sort-Object -property Status