如何使用PowerShell在本地计算机上获取服务?
要在本地计算机上获取服务,您需要使用Get-Servicescmdlet。此命令将为您提供所有运行,停止,停止挂起或启动挂起状态且启动类型为自动,手动或禁用的服务。
默认表的输出将显示“状态”,“名称”和“显示名称”三列。
命令
Get-Service
输出结果
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
热门推荐
6 保研的祝福语简短
10 年轻20岁祝福语简短
11 朋友结婚祝福语信息简短
12 女孩婚礼贺卡祝福语简短
13 30段点歌简短祝福语
14 虎年春节祝福语图文简短
15 写给后妈祝福语大全简短
16 简短回复生日祝福语
17 校长送毕业祝福语简短
18 毕业立体贺卡祝福语简短