-
-
Save jonathanmedd/a195a47561576e968ad6b36d1e97705f to your computer and use it in GitHub Desktop.
Get-ServiceWhereMethod4
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
$Services = (Get-Service).Where({ $_.Status -eq "Running" }, 'Split') | |
PS C:\> $Services[0] | |
Status Name DisplayName | |
------ ---- ----------- | |
Running AdobeARMservice Adobe Acrobat Update Service | |
Running AppHostSvc Application Host Helper Service | |
Running Appinfo Application Information | |
Running AudioEndpointBu... Windows Audio Endpoint Builder | |
Running Audiosrv Windows Audio | |
Running BFE Base Filtering Engine | |
Running BITS Background Intelligent Transfer Ser... | |
Running BrokerInfrastru... Background Tasks Infrastructure Ser... | |
Running Browser Computer Browser | |
Running CDPSvc Connected Devices Platform Service | |
..... | |
$Services[1] | |
Status Name DisplayName | |
------ ---- ----------- | |
Stopped AdobeFlashPlaye... Adobe Flash Player Update Service | |
Stopped AJRouter AllJoyn Router Service | |
Stopped ALG Application Layer Gateway Service | |
Stopped AppIDSvc Application Identity | |
Stopped AppMgmt Application Management | |
Stopped AppReadiness App Readiness | |
Stopped AppVClient Microsoft App-V Client | |
Stopped AppXSvc AppX Deployment Service (AppXSVC) | |
Stopped aspnet_state ASP.NET State Service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment