coding

In almost every scripting language that need to filter unique information is almost a must. Here is one simple way to file use Where-Object.

Get-Service | Where-Object -Property Name -Contains 'ALS'

Command Breakdown

Get-Service is used for find services running on your given workstation

Where-Object is used to filter the information after running the Get-Service command
-Property Name specifies the type of information usually the header (i.e. column title)
-Contains ‘ALS’ specifies the particular character to search for

Leave a Reply

Your email address will not be published. Required fields are marked *