Modifies the properties of a computer tier template.
Description
The Set-SCComputerTierTemplate cmdlet modifies the properties of a computer tier template.
For more information about Set-SCComputerTierTemplate, type: "Get-Help Set-SCComputerTierTemplate -online".
Parameters
ComputerTierTemplate
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a computer tier template object.
BlockAutomaticMigration
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates whether the computer can be automatically migrated. When set to $True, automatic migration is blocked. When set to $False, automatic migration is allowed. Default value: $False.
DefaultInstanceCount
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the default instance count for a computer tier that can be scaled out. Default value: 1.
DeploymentOrder
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the order in which a computer tier or application host is deployed.
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.
NumberOfUpgradeDomains
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the number of upgrade domains for a computer tier that can be scaled out. Default value: 1.
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.
ServicingOrder
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the order in which a computer tier or application host is serviced.
Tag
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a word or phrase to associate with an object so that you can search for all objects with the specified set of tags. You can search for a subset of tags, or you can search for the full set of tags.
VMTemplate
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies a VMM template object used to create virtual machines.
Examples
1: Set the properties of a computer
tier template.
The first command gets the service template object named ServiceTemplate01 and stores the object in the $ServiceTemplate variable.
The second command gets the computer tier template object for the service template stored in $ServiceTemplate.
The last command sets properties for the computer template tier object stored in $TierTemplate.