📅  最后修改于: 2022-03-11 14:56:27.849000             🧑  作者: Mango
// Commands for powershell
//lists all services and their current state
Get-Service
//List stopped services
Get-Service | Where-Object {$_.Status -eq "Stopped"}