Get ServiceStartMode - AlivaJG/PSAppDeployToolkit GitHub Wiki
Get the service startup mode.
Get-ServiceStartMode [-Name] <String> [[-ComputerName] <String>] [[-ContinueOnError] <Boolean>] [<CommonParameters>]
Get the service startup mode.
-Name <String>
Specify the name of the service.
-ComputerName <String>
Specify the name of the computer. Default is: the local computer.
-ContinueOnError <Boolean>
Continue if an error is encountered. Default is: $true.
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.
-------------------------- EXAMPLE 1 --------------------------
PS C:>Get-ServiceStartMode -Name 'wuauserv'
To see the examples, type: Get-Help Get-ServiceStartMode -Examples
For more information, type: Get-Help Get-ServiceStartMode -Detailed
For technical information, type: Get-Help Get-ServiceStartMode -Full
For online help, type: Get-Help Get-ServiceStartMode -Online