Okay you want to find all the running services that can pause and continue and display them on the screen

 get-service | Where-Object{$_.status -eq "Running"}| Where-Object{$_.CanPauseAndContinue -eq "True"} | format-list CanPauseAndContinue, Displayname

When you want to list all the services that start automatically and are currently in a stopped state

gwmi -computer servername win32_service -filter "StartMode='Auto' and State='Stopped'"

To see if the e.g spooler is running on server type:
(Get-Process -Computername Servername Spooler).Status

To start a service on a remote computer it is a little akward you would start the OmniInet service e.g. like this:
(gwmi -computername remotepcname -class win32_service | Where-Object {$_.Name -eq "OmniInet"}).StartService()

If you have a serverlist that you quickly and dirty want to check for running services that should be running but are not:
Get-Content .\serverlijst.txt | Foreach {$_ ; get-wmiobject -Class win32_service -ComputerName $_ | Where {$_.Startmode -eq 'auto' -and $_.State -ne 'running'}}

On Me

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License