Export (0) Print
Expand All
Expand Minimize

Set-SCComputerTierConfiguration

Updated: April 29, 2014

Applies To: System Center 2012 R2 Virtual Machine Manager

Set-SCComputerTierConfiguration

Configures the computer tier configuration object in an undeployed service configuration.

Syntax

Parameter Set: Default
Set-SCComputerTierConfiguration -ComputerTierConfiguration <BaseComputerTierConfiguration> [-JobVariable <String> ] [-PROTipID <Guid> ] [-RunAsynchronously] [-TimeZone <Int32> ] [ <CommonParameters>]




Detailed Description

The Set-SCComputerTierConfiguration cmdlet configures the computer tier configuration object in an undeployed service configuration.

Parameters

-ComputerTierConfiguration<BaseComputerTierConfiguration>

Specifies a computer tier configuration object.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-JobVariable<String>

Specifies that job progress is tracked and stored in the variable named by this parameter.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PROTipID<Guid>

Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-TimeZone<Int32>

Specifies a number (an index) that identifies a geographical region that shares the same standard time. For a list of time zone indexes, see Microsoft Time Zone Index Values (http://go.microsoft.com/fwlink/?LinkId=120935) on the Microsoft Developer Network. If no time zone is specified, the default time zone used for a virtual machine is the same time zone setting that is on the virtual machine host.

Example format to specify the GMT Standard Time zone: -TimeZone 085


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • ComputerTierConfiguration

Examples

Example 1: Configure the computer tier within a service configuration

The first command gets the service configuration object named Service01, and then stores the object in the $ServiceConfig variable.

The second command gets the computer tier configuration for the service configuration stored in $ServiceConfig, and then stores the object in the $TierConfig variable.

The third command sets the TimeZone parameter for the computer tier configuration stored in $TierConfig, and then stores the computer tier configuration in the $UpdatedConfig variable.

The last command displays information about the updated computer tier configuration stored in $UpdatedConfig.


PS C:\> $ServiceConfig = Get-SCServiceConfiguration -Name "Service01"
PS C:\> $TierConfig = Get-SCComputerTierConfiguration -ServiceConfiguration $ServiceConfig
PS C:\> $UpdatedConfig = Set-SCComputerTierConfiguration -ComputerTierConfiguration $TierConfig -TimeZone 085
PS C:\> $UpdatedConfig

Related topics

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft