Get-SCComputerTierConfiguration
Gets the computer tier configuration for a service deployment configuration.
Syntax
Default (Default)
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.
Parameter properties
| Type: | ServiceConfiguration |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-VMMServer
Specifies a Virtual Machine Manager (VMM) server object.
Parameter properties
| Type: | ServerConnection |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Outputs
ComputerTierConfiguration
This cmdlet returns a ComputerTierConfiguration object.