Get-SCComputerTierConfiguration

Applies To: System Center 2012 - Virtual Machine Manager

Get-SCComputerTierConfiguration

Gets the computer tier configuration for a service deployment configuration.

Syntax

Parameter Set: Default
Get-SCComputerTierConfiguration -ServiceConfiguration <ServiceConfiguration> [-VMMServer <ServerConnection> ] [ <CommonParameters>]

Detailed Description

The Get-SCComputerTierConfiguration cmdlet gets the computer tier configuration for a service deployment configuration.

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

Parameters

-ServiceConfiguration<ServiceConfiguration>

Specifies a service configuration object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-VMMServer<ServerConnection>

Specifies a VMM server object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

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

1: Get the computer tier configuration object for a service configuration.

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

The second command gets the computer tier configuration for the service configuratoin stored in Service01 and stores the object in the $TierConfig variable.

The last command displays the properties of the computer tier configuration stored in $TierConfig to the user.

PS C:\> $ServiceConfig = Get-SCServiceConfiguration -Name "Service01"
PS C:\> $TierConfig = Get-SCComputerTierConfiguration -ServiceConfiguration $ServiceConfig
PS C:\> $TierConfig

Get-SCServiceConfiguration

Set-SCComputerTierConfiguration