Get-SCComputerTierConfiguration

Gets the computer tier configuration for a service deployment configuration.

Syntax

Get-SCComputerTierConfiguration -ServiceConfiguration <ServiceConfiguration> [-VMMServer <ServerConnection>]
 [<CommonParameters>]

Description

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

Examples

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

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

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.

Parameters

-ServiceConfiguration

Specifies a service configuration object.

Type:ServiceConfiguration
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

ComputerTierConfiguration

This cmdlet returns a **ComputerTierConfiguration** object.