This is just a quick snippet that I’ll probably search for again in the future that I wanted to document here. 🙂
If you’re wanting to check a Windows Service on a machine, you can use something like this.
get-service -computerName "ServerName" -name "Name of the Service you're checking"
It should return the Status, Name, and Display Name.
Running is always good, if it’s supposed to be anyways. 🙂