FailoverCluster: Configure Role (foreach VM)
Aus Wiki-WebPerfect
Version vom 27. September 2019, 10:18 Uhr von Admin (Diskussion | Beiträge)
Configure Role for all VMs on a Hyper-V Node
- First connect to the Hyper-V node
- Run the following foreach-loop:
$VMs = (Get-VM).Name foreach ($vm in $VMs) { Get-VM $vm | Add-ClusterVirtualMachineRole }