How to get the services on a local computer with PowerShell?

PowerShellMicrosoft TechnologiesSoftware & Coding

To get the services on the local computers you need to use Get-Services cmdlet. This command will give you all the services which have running, stopped, stop pending or start pending status, and which has startup type is Automatic, Manual or Disabled.

The output of the default table will display Status, Name, and DisplayName three columns.

Command

Get-Service

Output

Status   Name               DisplayName
------   ----               -----------
Stopped  AarSvc_158379      Agent Activation Runtime_158379       
Running  AdobeARMservice    Adobe Acrobat Update Service
Stopped  AdobeFlashPlaye... Adobe Flash Player Update Service     
Stopped  AJRouter           AllJoyn Router Service
Stopped  ALG                Application Layer Gateway Service     
Stopped  AppIDSvc           Application Identity
Running  Appinfo            Application Information
Stopped  AppMgmt            Application Management
Stopped  AppReadiness       App Readiness
Stopped  AppVClient         Microsoft App-V Client
Stopped  AppXSvc            AppX Deployment Service (AppXSVC)     
Stopped  AssignedAccessM... AssignedAccessManager Service
Running  AudioEndpointBu... Windows Audio Endpoint Builder
Running  Audiosrv           Windows Audio
Stopped  autotimesvc        Cellular Time
Running  AVP20.0            Kaspersky Anti-Virus Service 20.0     
Stopped  AxInstSV           ActiveX Installer (AxInstSV)
Stopped  BcastDVRUserSer... GameDVR and Broadcast User Service_...
Stopped  BDESVC             BitLocker Drive Encryption Service
Running  BFE                Base Filtering Engine
Running  BITS               Background Intelligent Transfer Ser...
Running  Bluetooth Devic... Bluetooth Device Monitor
raja
Published on 22-Jan-2020 07:48:28
Advertisements