Set-SCComputerTier

Modifies the properties of a VMM computer tier object.

Description

The Set-SCComputerTier cmdlet modifies the properties of a System Center Virtual Machine Manager (VMM) computer tier object.

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

Parameters

ComputerTier

Required? true
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a computer tier object.

Description

Required? false
Accept Pipeline Input? false
Position? named
States a description for the specified object.

InstanceMaximumCount

Required? false
Accept Pipeline Input? false
Position? named
Specifies the maximum number of virtual machines to which a service instance can scale out.

InstanceMinimumCount

Required? false
Accept Pipeline Input? false
Position? named
Specifies the minimum number of virtual machines to which a service instance can scale in.

JobVariable

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

Name

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

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. 

ServicingType

Required? false
Accept Pipeline Input? false
Position? named
Specifies the type of servicing for a service. Valid values are: UseStandardServicing, UseImageBasedServicing.

Examples

1: Set the maximum virtual machine count for a computer tier.
PS C:\> $Service = Get-SCService -Name "Service01"
PS C:\> $Tier = Get-SCComputerTier -Service $Service
PS C:\> Set-SCComputerTier -ComputerTier $Tier -InstanceMaximumCount 10
The first command gets the service object named Service01 and stores the object in the $Service variable. 

The second command gets the computer tier for the service stored in $Service and stores the object in the $Tier vairable.

The last command sets the maximum virtual machine count for the computer tier stored in $Tier to 10.

See Also