-
-
Save jonathanmedd/35424ca26f6a86c2c8ccecb2094e715f to your computer and use it in GitHub Desktop.
Get-ServiceWhereMethod3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Get-Service).Where({ $_.Status -eq "Running" }, 'First') | |
Status Name DisplayName | |
------ ---- ----------- | |
Running AdobeARMservice Adobe Acrobat Update Service | |
(Get-Service).Where({ $_.Status -eq "Running" }, 'Last') | |
Status Name DisplayName | |
------ ---- ----------- | |
Running ZeroConfigService Intel(R) PROSet/Wireless Zero Confi... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment