Update-SCServiceConfiguration

Performs placement on a service configuration.

Description

The Update-SCServiceConfiguration cmdlet performs placement on a service configuration object. During placement, the suitability of hosts is determined and configuration settings for the virtual machines are configured.

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

Parameters

ServiceConfiguration

Required? true
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a service configuration object.

JobVariable

Required? false
Accept Pipeline Input? false
Position? named
Specifies that job progress is tracked and stored in the variable named by this parameter. 

PROTipID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

RunAsynchronously

Required? false
Accept Pipeline Input? false
Position? named
Indicates that the job runs asynchronously so that control returns to the command shell immediately. 

VMMServer

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

Examples

1: Run placement and update a service configuration.
PS C:\> $SvcConfig = Get-SCServiceConfiguration -Name "Service01"
PS C:\> Update-SCServiceConfiguration -ServiceConfiguration $SvcConfig
The first command gets the service configuration object named Service01 and stores the object in the $SvcConfig variable.

The second command updates and runs placement on service configuration Service01.

See Also