PowerShell - Cmdlets and Pipeline
Identify the error in this pipeline:
Get-ChildItem | Where-Object { $_.Length -gt 1000 } | Select Name, LengthGet-ChildItem | Where-Object { $_.Length -gt 1000 } | Select Name, LengthSelect is not a valid alias in PowerShell; the correct cmdlet is Select-Object.Get-ChildItem outputs objects with Length property, and pipeline operator is present.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions