PowerShell - Cmdlets and Pipeline
How can you combine pipeline object flow with sorting to list the top 3 largest files in a folder?
Get-ChildItem lists files, Sort-Object Length -Descending sorts them largest first.Select-Object -First 3 picks the top three after sorting.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions