Filtering: Where-Object and Comparisons

Where-Object keeps only the objects that pass a test, such as every file over 1 MB or every song, and the test is written with comparisons read aloud as words, -eq "equals", -gt "greater than", -like "is like", with $_ standing for this item.

Updated

Cheat sheet for the lesson Filtering: Where-Object and Comparisons: Where-Object keeps only the objects that pass a test, such as every file over 1 MB or every song, and the test is written with comparisons read aloud as words, -eq "equals", -gt "greater than", -like "is like", with $_ standing…
Category
PowerShell
Level
Apprentice
Tags
and-psitem, byte, comparison-operators, operating-system, powershell, script-block, where-object