Get-NlbCluster

Retrieves information about the Network Load Balancing (NLB) cluster object that is queried by the caller.

Syntax

Get-NlbCluster
   [[-HostName] <String>]
   [[-InterfaceName] <String>]
   [<CommonParameters>]

Description

The Get-NlbCluster cmdlet retrieves information about the Network Load Balancing (NLB) cluster. The information includes the properties, or attributes, that define the cluster and its status.

Examples

EXAMPLE 1

PS C:\>Get-NlbCluster
Name                IPAddress           SubnetMask          Mode 
----                ---------           ----------          ---- 
cluster1            3.53.100.100        255.0.0.0           UNICAST

This example gets the cluster object for the local NLB cluster, that is, the cluster that this node is a part.

EXAMPLE 2

PS C:\>Get-NlbCluster -HostName node1
Name                IPAddress           SubnetMask          Mode 
----                ---------           ----------          ---- 
cluster2            4.53.100.100        255.0.0.0           UNICAST

This example gets the cluster object for the NLB cluster that node named node1 is a part.

EXAMPLE 3

PS C:\>Get-NlbCluster -HostName node1 -InterfaceName vlan-2
Name                IPAddress           SubnetMask          Mode 
----                ---------           ----------          ---- 
cluster2            4.53.100.100        255.0.0.0           UNICAST

This example gets the cluster object for the NLB cluster that node named node1 (with the interface named vlan-2) is a part.

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

Inputs

None

Outputs

Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster