Get-SCLoadBalancerVIP
Get-SCLoadBalancerVIP
Gets a load balancer VIP object.
Syntax
Parameter Set: GlobalList
Get-SCLoadBalancerVIP [[-Name] <String> ] [-IPAddress <String> ] [-LoadBalancer <LoadBalancer> ] [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Parameter Set: ByID
Get-SCLoadBalancerVIP -ID <Guid> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
Detailed Description
The Get-SCLoadBalancerVIP cmdlet gets one or more load balancer virtual IP (VIP) objects.
Parameters
-ID<Guid>
Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-IPAddress<String>
Specifies an IPv4 or IPv6 address.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-LoadBalancer<LoadBalancer>
Specifies a load balancer object.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Name<String>
Specifies the name of a VMM object.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).
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.
- LoadBalancerVIP
Examples
1: Get a load balancer virtual IP (VIP) for a specific load balancer.
The first command gets the load balancer object with the address LB01.Contoso.com and stores the object in the $LoadBalancer variable.
The second command gets the load balancer VIP for the load balancer stored in $LoadBalancer with an IP address of 192.168.0.1.
PS C:\> $LoadBalancer = Get-SCLoadBalancer -LoadBalancerAddress "LB01.Contoso.com"
PS C:\> Get-SCLoadBalancerVIP -LoadBalancer $LoadBalancer -IPAddress "192.168.0.1"