Get-SCLoadBalancerVIPMember
Gets a member of a load balancer VIP.
Syntax
Get-SCLoadBalancerVIPMember
[-VMMServer <ServerConnection>]
[-IPAddress <String>]
[<CommonParameters>]
Get-SCLoadBalancerVIPMember
[-VMMServer <ServerConnection>]
-LoadBalancerVIP <LoadBalancerVIP>
[-IPAddress <String>]
[<CommonParameters>]
Get-SCLoadBalancerVIPMember
[-VMMServer <ServerConnection>]
[-IPAddress <String>]
-ID <Guid>
[<CommonParameters>]
Description
The Get-SCLoadBalancerVIPMember cmdlet gets a member of a load balancer virtual IP (VIP).
Examples
Example 1: Get a load balancer virtual IP member
PS C:\> $LoadBalancer = Get-SCLoadBalancer -LoadBalancerAddress "LB01.Contoso.com"
PS C:\> $VIP = Get-SCLoadBalancerVIP -LoadBalancer $LoadBalancer -IPAddress "192.168.0.1"
PS C:\> Get-SCLoadBalancerVIPMember -LoadBalancerVIP $VIP -IPAddress "192.168.0.1"
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 with the IP address of 192.168.0.1 for the load balancer stored in $LoadBalancer and stores the object in the $VIP variable.
The last command gets the load balancer member for the load balancer VIP stored in $VIP with the IP address of 192.168.0.1 and displays information about the member to the user.
Parameters
-ID
Specifies the numerical identifier as a globally unique identifier, or GUID, for a specific object.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IPAddress
Specifies an IPv4 or IPv6 address.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LoadBalancerVIP
Specifies a VIP in a load balancer.
Type: | LoadBalancerVIP |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
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
LoadBalancerVIPMember
This cmdlet returns a LoadBalancerVIPMember member.