How to test whether a service is running from the command line March 7, 2023 by Tarik sc query "ServiceName" | find "RUNNING"