Get-SCComputerTierConfiguration

Gets the computer tier configuration for a service deployment configuration.

Syntax

Get-SCComputerTierConfiguration
   [-VMMServer <ServerConnection>]
   -ServiceConfiguration <ServiceConfiguration>
   [<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
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

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

Outputs

ComputerTierConfiguration

This cmdlet returns a ComputerTierConfiguration object.