Get-ClusterNetwork
Get-ClusterNetwork
Gets information about one or more networks in a failover cluster.
Syntax
Parameter Set: InputObject
Get-ClusterNetwork [[-Name] <StringCollection> ] [-Cluster <String> ] [-InputObject <PSObject> ] [ <CommonParameters>]
Detaillierte Beschreibung
The Get-ClusterNetwork cmdlet gets information about one or more networks in a failover cluster. A failover cluster requires network connectivity among nodes and between clients and nodes.
Parameter
-Cluster<String>
Specifies the name of the cluster on which to run this cmdlet. If the input for this parameter is .
or it is omitted, then the cmdlet runs on the local cluster.
Aliase |
none |
Erforderlich? |
false |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-InputObject<PSObject>
Specifies the cluster on which to enumerate the cluster networks.
Aliase |
none |
Erforderlich? |
false |
Position? |
named |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
true (ByValue) |
Platzhalterzeichen akzeptieren? |
false |
-Name<StringCollection>
Specifies the name of the cluster network to get.
Aliase |
none |
Erforderlich? |
false |
Position? |
1 |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer und -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die Sie per Piping an das Cmdlet übergeben können.
- Microsoft.FailoverClusters.PowerShell.Cluster
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
- Microsoft.FailoverClusters.PowerShell.ClusterNetwork
Beispiele
EXAMPLE 1
This example gets information about the networks used by the local cluster.
PS C:\> Get-ClusterNetwork
Example 2
This example renames Cluster Network 1 to Cluster Network 3.
PS C:\> (Get-ClusterNetwork –Name "Cluster Network 1").Name = "Cluster Network 3"