Basics | Where | Foreach | -Filter

Where

Gathers information | uses the Where-Object for filtering; the $_. allows object oriented property selection of the property "Name"; then uses a comparison operator "-like" against a string with a wildcard *



Where-Object

Foreach

Gather the information first and then loop through in a foreach loop with a conditional IF





-Filter

Filtering is a way to gather the data your require but isn't always avaialbe on all Cmdlets.
For example you cannot filter on Get-Service.





List all the CmdLets filter can be used with