Edit

Share via


Get-NlbClusterNodeNetworkInterface

Gets information about interfaces, including information about the NLB driver, on a host.

Syntax

NonPipeline (Default)

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

Pipeline

Get-NlbClusterNodeNetworkInterface
    [[-InterfaceName] <String>]
    -InputObject <Node[]>
    [<CommonParameters>]

Description

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

Examples

Example 1: Get information about all network interfaces on the local node

PS C:\>Get-NlbClusterNodeNetworkInterface
InterfaceName       : vlan-3
NlbBound            : True
Cluster             : cluster1
DhcpEnabled         : False
InterfaceIP         : 3.53.4.1
InterfaceSubnetMask : 255.0.0.0
ClusterPrimaryIP    : 3.53.100.100
ClusterSubnetMask   : 255.0.0.0

InterfaceName       : vlan-2
NlbBound            : False
Cluster             :
DhcpEnabled         : False
InterfaceIP         : 2.53.4.1
InterfaceSubnetMask : 255.0.0.0
ClusterPrimaryIP    :
ClusterSubnetMask   :

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

Example 2: Get information about all network interfaces on the specified node

PS C:\>Get-NlbClusterNodeNetworkInterface -HostName "Node01"
InterfaceName       : vlan-4
NlbBound            : True
Cluster             : cluster1
DhcpEnabled         : False
InterfaceIP         : 4.53.4.1
InterfaceSubnetMask : 255.0.0.0
ClusterPrimaryIP    : 4.53.100.100
ClusterSubnetMask   : 255.0.0.0

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

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Host, HN, H

Parameter sets

NonPipeline
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Specifies an array of cluster nodes for which this cmdlet gets network interface information.

Parameter properties

Type:

Node[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Pipeline
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-InterfaceName

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Interface, IN, I

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

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

Inputs

Microsoft.NetworkLoadBalancingClusters.PowerShell.Node

Outputs

Microsoft.NetworkLoadBalancingClusters.PowerShell.NetworkInterface