
where-object
List of commands for where-object:
-
where-object:tldr:39757 where-object: Filter aliases by its name.$ Get-Alias | Where-Object -${Property} ${Name} -${eq} ${name}try on your machineexplain this command
-
where-object:tldr:a6647 where-object: Use multiple conditions.$ Get-Module -ListAvailable | Where-Object { $_.Name -NotLike "Microsoft*" -And $_.Name -NotLike "PS*" }try on your machineexplain this command
-
where-object:tldr:b26d3 where-object: Get a list of all services that are currently stopped. The `$_` automatic variable represents each object that is passed to the `Where-Object` cmdlet.$ Get-Service | Where-Object {$_.Status -eq "Stopped"}try on your machineexplain this command