Get-NlbClusterNodeNetworkInterface
Get-NlbClusterNodeNetworkInterface
Retrieves information about interfaces, including information about the Network Load Balancing (NLB) driver, on a host.
Syntaxe
Parameter Set: NonPipeline
Get-NlbClusterNodeNetworkInterface [[-HostName] <String> ] [[-InterfaceName] <String> ] [ <CommonParameters>]
Parameter Set: Pipeline
Get-NlbClusterNodeNetworkInterface [[-InterfaceName] <String> ] -InputObject <Node[]> [ <CommonParameters>]
Description détaillée
The Get-NlbClusterNodeNetworkInterface cmdlet retrieves information about interfaces, including information about the Network Load Balancing (NLB) driver, on a host.
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 |
-InputObject<Node[]>
Specifies the cluster node for which network interface information is retrieved.
Alias |
none |
Obligatoire ? |
true |
Position ? |
named |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
True (ByValue, ByPropertyName) |
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.
- Microsoft.NetworkLoadBalancingClusters.PowerShell.Node
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
- Microsoft.NetworkLoadBalancingClusters.PowerShell.NetworkInterface
Exemples
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