PowerTip: Get Specific Service Information with PowerShell

Summary: Learn how to use Windows PowerShell to get specific service information.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find information about services, if I do not want to include any service
            that has a name that begins with the letter “s”?

Hey, Scripting Guy! Answer Use the Exclude parameter from the Get-Service cmdlet, for example:

gsv -Exclude s*

Note  Gsv is an alias for the Get-Service cmdlet.

Comments (0)

Skip to main content