I know I can get the status of a service using this command: get-wmiobject win32_service |where {$_.name -match "bits"} to return all the properties I need (Name, StartMode, and State).
ExitCode : 0
Name : BITS
ProcessId : 820
StartMode : Manual
State : Running
Status : OK
That's a good start, but what is the best way to pass a specific list of services to this, or some other similar command, to return the multiple service statuses?
Thank you in advance for your time with this! I appreciate it.
Roy.