Start-Win32Service
PackageDeployment Module Help |
Package Deployment Module |
Start-Win32Service Cmdlet |
Version 4.0.0.5 |
Start-Win32Service
Synopsis
Start Service
Syntax
Start-Win32Service [-Name] <String> [[-Context] <String>] [-ContinueOnError] [-Recurse] [-Wait] [<CommonParameters>]
Description
Use this command to start a service or a device for Windows.
You must verify that the service you want to start (or the device you want to start) has already been installed. Please note that only installed services or devices can be started.
Parameters
-Context <String> |
||||||
User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user. |
||||||
|
-ContinueOnError <SwitchParameter> |
||||||
Continues script execution in spite of errors in the respective command |
||||||
|
-Name <String> |
||||||
Service name. |
||||||
|
-Recurse <SwitchParameter> |
||||||
#TODO# |
||||||
|
-Wait <SwitchParameter> |
||||||
Wait for service to start. |
||||||
|
<CommonParameters> |
For more information about common parameters, type "Get-Help about_CommonParameters". |