Get-NlbClusterVip

Retrieves virtual IP addresses that are queried by the caller.

Syntax

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

Description

The Get-NlbClusterVIP cmdlet retrieves 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

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 example lists all the virtual IP addresses on the local cluster.

EXAMPLE 2

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

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

Required Parameters

-InputObject

Specifies the cluster for which the virtual IP address is enumerated.

Type:Cluster
Position:Named
Default value:None
Accept pipeline input:True (ByValue, ByPropertyName)
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:hn
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IP

Specifies the IP address of the cluster for which the virtual IP address is enumerated.

Type:IPAddress
Position:1
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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster

Outputs

Microsoft.NetworkLoadBalancingClusters.PowerShell.ClusterVip