Where-Object
say it: “WAIR OB-jekt” /wɛr ˈɒbdʒɛkt/
Keeps only pipeline objects matching a condition.
What is Where-Object?
Where-Object keeps only the pipeline objects that match a condition.
Get-ChildItem | Where-Object { $_.Length -gt 1MB }
Level: Apprentice · More PowerShell terms at this level
Updated