PowerShell - Get Automatic Services Status
- Jon Boyette
- Sep 28, 2022
- 1 min read
Save as a self named .ps1, this will prompt for a server name and lists to screen all the auto services and state
$a = Read-Host "Enter ServerName to see all Automatic services status"
Get-Service -ComputerName $a | Where{$_.StartType -eq "Automatic"} |
Select MachineName, Name, Status
Comments