Get-SCClusterVirtualNetwork
Get-SCClusterVirtualNetwork
Gets the virtual network associated with a host cluster.
構文
Parameter Set: Default
Get-SCClusterVirtualNetwork [-VMHostCluster] <HostCluster> [-VMMServer <ServerConnection> ] [ <CommonParameters>]
詳細説明
The Get-SCClusterVirtualNetwork cmdlet gets one or more virtual networks associated with a host cluster.
パラメーター
-VMHostCluster<HostCluster>
Specifies a VMM host cluster object.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-VMMServer<ServerConnection>
Specifies a VMM server object.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- VirtualNetwork
例
Example 1: Get the virtual network for a cluster
The first command gets the cluster object named VMHostCluster01, and then stores the object in the $Cluster variable.
The second command gets the cluster virtual network object for the cluster stored in $Cluster.
PS C:\> $Cluster = Get-SCVMHostCluster -Name "VMHostCluster01.Contoso.com"
PS C:\> Get-SCClusterVirtualNetwork -VMHostCluster $Cluster