Get-SCPendingServiceSetting

Gets the pending service settings for a service that is in a pending service state.

Description

The Get-SCPendingServiceSetting cmdlet gets the pending service settings for a service that is in a pending service state.

For more information about Get-SCPendingServiceSetting, type: "Get-Help SCPendingServiceSetting -online".

Parameters

Name

Required? true
Accept Pipeline Input? false
Position? named
Specifies the name of a VMM object.

Service

Required? false
Accept Pipeline Input? false
Position? named
Specifies a VMM service object.

VMMServer

Required? false
Accept Pipeline Input? false
Position? named
Specifies a VMM server object.

Examples

1. Retrieve all pending service settings from a service in a pending service state
PS C:\> $Service = Get-SCService -Name "Service01"
PS C:\> Get-SCPendingServiceSetting -Service $Service
The first command gets the service object named Service01 and stores the object in the $Service variable.

The second command gets the pending service settings for Service01 and displays them for the user.

See Also