Piping in PowerShell has the same syntax like Command Prompt and the Linux
terminal; however, one major difference is that what gets piped is an object.
The pipeline is at the heart of PowerShell and its design philosophy.
1
2
3
4
# Many aliases are used below for brevity
dir -s * | group extension | Sort-Object count | where count -gt 1 |