Start Windows Service
- 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Start Windows Service
- Updated on 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
This is generated from the built in components of Otter 3.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.
Start Windows Service
Starts an existing Windows service.
Script usage:
Start-Service( Name: <text>, [WaitForRunningStatus: <true/false>], [FailIfServiceDoesNotExist: <true/false>] );
This operation may be prefixed with Windows::
, although this is a built-in namespace and isn't really necessary.
Arguments:
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
☆ Service name (default) | text | Name | This argument is required. |
Wait for running status | true/false | WaitForRunningStatus | |
Fail if service does not exist | true/false | FailIfServiceDoesNotExist |
Example:
# starts the HDARS service on the remote server Start-Service HDARS;
Was this article helpful?