Get-Nlb Cluster Vip

Gets virtual IP addresses that are queried by the caller.

Syntax

Get-NlbClusterVip
   [-HostName <String>]
   [-InterfaceName <String>]
   [[-IP] <IPAddress>]
   [<CommonParameters>]
Get-NlbClusterVip
   -InputObject <Cluster[]>
   [[-IP] <IPAddress>]
   [<CommonParameters>]

Description

The Get-NlbClusterVIP cmdlet gets the virtual IP addresses that are queried by the caller. This IP address is used to address the cluster as a whole, and is the IP address that maps to the full Internet name that you specify for the Network Load Balancing (NLB) cluster.

Examples

Example 1: List all virtual IP addresses on the local cluster

PS C:\>Get-NlbClusterVip
IPAddress                               SubnetMask 
---------                               ---------- 
3.53.100.100                            255.0.0.0 
3.53.100.101                            255.0.0.0 
3.53.100.102                            255.0.0.0 
fe80::b349:6945:9449:d03c               ::

This command lists all the virtual IP addresses on the local cluster.

Example 2: Get the specified virtual IP address on the local cluster

PS C:\>Get-NlbClusterVip -IP fe80::a20f:cca:4cd2:7ea0
IPAddress                               SubnetMask 
---------                               ---------- 
fe80::a20f:cca:4cd2:7ea0               ::

This command gets the specified virtual IP addresses on the local cluster.

Required Parameters

-InputObject

Specifies the cluster for which this cmdlet enumerates virtual IP addresses.

Type: Cluster[]
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

Optional Parameters

-HostName

Specifies the name of the cluster host against which this cmdlet is run. If this parameter is omitted or a value of . is entered, then the local cluster is assumed.

Type: String
Aliases: Host, HN, H
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-IP

Specifies the IP address of the cluster for which this cmdlet enumerates virtual IP addresses.

Type: IPAddress
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InterfaceName

Specifies the interface to which NLB is bound. This is the interface of the cluster against which this cmdlet is run.

Type: String
Aliases: Interface, IN, I
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Inputs

Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster

Outputs

Microsoft.NetworkLoadBalancingClusters.PowerShell.ClusterVip