Powershell is a really powerful tool and can be used to automate tasks during troubleshooting.

One of the issues that I have seen in the past is that services will not start automatically after an update. Depending on the amount of services on a machine it can be a time consuming process to check for automatic services that are not started.

With Powershell we can determine what services are set to automatic and aren’t started with a simple little one liner.

Get-Service | Select-Object -Property Name,Status,StartType | Where-Object {$_.Status -eq "Stopped" -and $_.StartType -eq "Automatic"}

It should return a result similar to the one below:

Now with this simple one liner you are able to see what services are not started.