Compartir a través de


Get-NlbClusterNodeNetworkInterface

Get-NlbClusterNodeNetworkInterface

Retrieves information about interfaces, including information about the Network Load Balancing (NLB) driver, on a host.

Syntax

Parameter Set: NonPipeline
Get-NlbClusterNodeNetworkInterface [[-HostName] <String> ] [[-InterfaceName] <String> ] [ <CommonParameters>]

Parameter Set: Pipeline
Get-NlbClusterNodeNetworkInterface [[-InterfaceName] <String> ] -InputObject <Node> [ <CommonParameters>]

Detailed Description

The Get-NlbClusterNodeNetworkInterface cmdlet retrieves information about interfaces, including information about the Network Load Balancing (NLB) driver, on a host.

Parameters

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

Aliases

hn

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InputObject<Node>

Specifies the cluster node for which network interface information is retrieved.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-InterfaceName<String>

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

Aliases

none

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.Node

Outputs

The output type is the type of the objects that the cmdlet emits.

  • Microsoft.NetworkLoadBalancingClusters.PowerShell.NetworkInterface

Examples

EXAMPLE 1

This example gets information about all network interfaces on the local node. The information returned includes whether NLB is bound to that interface and whether that interface is DHCP-enabled.

PS C:\> Get-NlbClusterNodeNetworkInterface

EXAMPLE 2

This example gets information about all network interfaces on the node named node1. The information returned includes whether NLB is bound to that interface and whether that interface is DHCP-enabled.

PS C:\> Get-NlbClusterNodeNetworkInterface -HostName node1

New-NlbCluster