Get-NlbClusterVip

Get-NlbClusterVip

Retrieves 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>]

Detailed 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 cluster.

Parameters

-HostName <string>

Specifies the name of the cluster host against which this cmdlet is run. If this parameter is omitted or if "-HostName ." is used, the local cluster is assumed. [Alias: hn]

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-InputObject <Cluster[]>

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

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Position?

named

-InterfaceName <string>

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

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-Ip <IPAddress>

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

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

1

-CommonParameter

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

Examples

EXAMPLE 1

C:\PS>

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               ::                        

Description

-----------

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

EXAMPLE 2

C:\PS>

Get-NlbClusterVip fe80::a20f:cca:4cd2:7ea0



IPAddress                               SubnetMask

---------                               ----------

fe80::a20f:cca:4cd2:7ea0               ::                        

Description

-----------

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

See Also

Reference

Add-NlbClusterVIP
Remove-NlbClusterVIP
Set-NlbClusterVIP