Skip to main content

Get service status

Return RUNNING, STOPPED, PAUSED, START_PENDING or STOP_PENDING.

Command in the Windows services toolkit · id ooa.services/get_status · 4 inputs (1 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
NameStringYesService name.
ComputerStringNoComputer that runs the service, e.g. FILESRV01 or 10.0.0.5; this computer when empty. Needs administrator rights there and the Remote Service Management firewall rule.
UserStringNoWindows user (DOMAIN\user) for the other computer; the runner's account when empty.
PasswordCredentialNoPassword of user, from the vault.

Outputs​

OutputTypeWhat it is
statusStringService state.