Get-NlbCluster

Get-NlbCluster

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

Syntaxe

Parameter Set: Default
Get-NlbCluster [[-HostName] <String> ] [[-InterfaceName] <String> ] [ <CommonParameters>]

Description détaillée

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.

Paramètres

-HostName<String>

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.

Alias

Host,HN,H

Obligatoire ?

false

Position ?

1

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

-InterfaceName<String>

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

Alias

Interface,IN,I

Obligatoire ?

false

Position ?

2

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

  • None

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster

Exemples

EXAMPLE 1

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

PS C:\> Get-NlbCluster

EXAMPLE 2

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

PS C:\> Get-NlbCluster -HostName node1

EXAMPLE 3

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

PS C:\> Get-NlbCluster -HostName node1 -InterfaceName vlan-2

Rubriques connexes

New-NlbCluster

Remove-NlbCluster

Resume-NlbCluster

Set-NlbCluster

Start-NlbCluster

Stop-NlbCluster

Suspend-NlbCluster