服务的方法和属性
Get-Service | Get-Member
TypeName:System.ServiceProcess.ServiceController
Name MemberType Definition
---- ---------- ----------
Name AliasProperty Name = ServiceName
RequiredServices AliasProperty RequiredServices = ServicesDependedOn
Disposed Event System.EventHandler Disposed(System.Object, System.EventArgs)
Close Method void Close()
Continue Method void Continue()
CreateObjRef Method System.Runtime.Remoting.ObjRef CreateObjRef(type requestedType)
Dispose Method void Dispose(), void IDisposable.Dispose()
Equals Method bool Equals(System.Object obj)
ExecuteCommand Method void ExecuteCommand(int command)
GetHashCode Method int GetHashCode()
GetLifetimeService Method System.Object GetLifetimeService()
GetType Method type GetType()
InitializeLifetimeService Method System.Object InitializeLifetimeService()
Pause Method void Pause()
Refresh Method void Refresh()
Start Method void Start(), void Start(string[] args)
Stop Method void Stop()
WaitForStatus Method void WaitForStatus(System.ServiceProcess.ServiceControllerStatus desiredStatus), void WaitForStatus(System.ServicePro...
CanPauseAndContinue Property bool CanPauseAndContinue {get;}
CanShutdown Property bool CanShutdown {get;}
CanStop Property bool CanStop {get;}
Container Property System.ComponentModel.IContainer Container {get;}
DependentServices Property System.ServiceProcess.ServiceController[] DependentServices {get;}
DisplayName Property string DisplayName {get;set;}
MachineName Property string MachineName {get;set;}
ServiceHandle Property System.Runtime.InteropServices.SafeHandle ServiceHandle {get;}
ServiceName Property string ServiceName {get;set;}
ServicesDependedOn Property System.ServiceProcess.ServiceController[] ServicesDependedOn {get;}
ServiceType Property System.ServiceProcess.ServiceType ServiceType {get;}
Site Property System.ComponentModel.ISite Site {get;set;}
StartType Property System.ServiceProcess.ServiceStartMode StartType {get;}
Status Property System.ServiceProcess.ServiceControllerStatus Status {get;}
ToString ScriptMethod System.Object ToString();
按状态类型排序显示
Get-Service | sort Status
Status Name DisplayName
------ ---- -----------
Stopped AJRouter AllJoyn Router Service
Stopped AppMgmt Application Management
Stopped AppIDSvc Application Identity
Stopped AxInstSV ActiveX Installer (AxInstSV)
Stopped COMSysApp COM+ System Application
Stopped ClipSVC Client License Service (ClipSVC)
Stopped CredentialEnrol... CredentialEnrollmentManagerUserSvc_...
Stopped ConsentUxUserSv... ConsentUX 用户服务_6dc2c
Stopped CertPropSvc Certificate Propagation
Stopped BITS Background Intelligent Transfer Ser...
Stopped BaiduNetdiskUti... BaiduNetdiskUtility
Stopped CaptureService_... CaptureService_6dc2c
Stopped bthserv 蓝牙支持服务
Stopped Intel(R) TPM Pr... Intel(R) TPM Provisioning Service
Stopped Intel(R) Capabi... Intel(R) Capability Licensing Servi...
Stopped gupdatem Google 更新服务 (gupdatem)
Stopped HvHost HV 主机服务
Stopped FrameServerMonitor Windows Camera Frame Server Monitor
Stopped GoogleChromeEle... Google Chrome Elevation Service (Go...
Stopped FrameServer Windows Camera Frame Server
Stopped DevQueryBroker DevQuery Background Discovery Broker
Stopped gupdate Google 更新服务 (gupdate)
Stopped GraphicsPerfSvc GraphicsPerfSvc
Stopped InstallService Microsoft Store 安装服务
Stopped IsmServ Intersite Messaging
Running vds Virtual Disk
Running VaultSvc Credential Manager
Running VMAuthdService VMware Authorization Service
Running cbdhsvc_6dc2c 剪贴板用户服务_6dc2c
Running LSM Local Session Manager
Running VMnetDHCP VMware DHCP Service
Running CDPSvc 连接设备平台服务
Running igccservice Intel(R) Graphics Command Center Se...
Running igfxCUIService2... Intel(R) HD Graphics Control Panel ...
Running CDPUserSvc_6dc2c 连接设备平台用户服务_6dc2c
Running MSDTC Distributed Transaction Coordinator
Running UALSVC User Access Logging Service
Running cplspcon Intel(R) Content Protection HDCP Se...
友情提示:本站所有文章,如无特殊说明或标注,均为何星星原创发布。与此同时,趋于近年来本站的文章内容频繁被他站盗用与机器采集,现已全局禁用网站文字内容操作,了解详情或转载文章请 点此 继续!
0 条评论