September 24th, 2015

PowerTip: Get Specific Service Information with PowerShell

Doctor Scripto
Scripter

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.

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.