📜  Windows 服务列表 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:27.849000             🧑  作者: Mango

代码示例1
// Commands for powershell
//lists all services and their current state
Get-Service

//List stopped services
Get-Service | Where-Object {$_.Status -eq "Stopped"}