Get-NlbCluster

Get-NlbCluster

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

構文

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

詳細説明

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.

パラメーター

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

エイリアス

Host,HN,H

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-InterfaceName<String>

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

エイリアス

Interface,IN,I

必須?

false

位置は?

2

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • None

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.Cluster

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

関連トピック

New-NlbCluster

Remove-NlbCluster

Resume-NlbCluster

Set-NlbCluster

Start-NlbCluster

Stop-NlbCluster

Suspend-NlbCluster