Get-SCClusterVirtualNetwork

Gets the virtual network associated with a host cluster.

Description

The Get-SCClusterVirtualNetwork cmdlet gets one or more virtual networks associated with a host cluster.

For more information about Get-SCClusterVirtualNetwork, type: "Get-Help Get-SCClusterVirtualNetwork -online".

Parameters

VMHostCluster

Required? true
Accept Pipeline Input? true (ByValue)
Position? 0
Specifies a VMM host cluster object.

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Get the virtual network for a cluster.
PS C:\> $Cluster = Get-SCVMHostCluster -Name "VMHostCluster01.Contoso.com"
PS C:\> Get-SCClusterVirtualNetwork -VMHostCluster $Cluster
The first command gets the cluster object named VMHostCluster01 and stores the object in the $Cluster variable.

The second command gets the cluster virtual network object for the cluster stored in $Cluster (VMHostCluster01).

See Also