Powershell Set Operations
Set operations can do filtering, ordering,grouping and selecting operations on collection of objects that are passed to them.
Filtering (Where-Object)
The Get-Service
cmdlet gets objects that represent the services on a computer…