Gets a load balancer template for a service or computer tier template.
Description
The Get-SCLoadBalancerTemplate cmdlet gets the load balancer template for a service template or a computer tier template.
For more information about Get-SCLoadBalancerTemplate, type: "Get-Help Get-SCLoadBalancerTemplate -online".
Parameters
All
Required?
false
Accept Pipeline Input?
false
Position?
named
Retrieves a full list of all subordinate objects independent of the parent object. For example, the command Get-SCVirtualDiskDrive -All retrieves all virtual disk drive objects regardless of the virtual machine object or template object that each virtual disk drive object is associated with.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ComputerTierTemplate
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a computer tier template object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ID
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
ServiceTemplate
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a service template object.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
Examples
1: Get the load balancer template for
a service template.
The first command gets the service template object named ServiceTemplate01 and stores the object in the $ServiceTemplate variable.
The second command gets the load balancer template for the service template stored in $ServiceTemplate and stores the object in the $LoadBalancerTemplate variable.
The last command displays the properties of the load balancer template stored in $LoadBalancerTemplate to the user.
2: Get the load balancer template for
a computer tier template.
The first command gets the service template object named ServiceTemplate01 and stores the object in the $ServiceTemplate variable.
The second command gets the computer tier template for the service template stored in $ServiceTemplate and stores the object in the $TierTemplate variable.
The third command gets the load balancer template for the computer tier template stored in $TierTemplate and stores the object in the $LoadBalancerTemplate variable.
The last command displays the properties of the load balancer template stored in $LoadBalancerTemplate to the user.