VMM: Availability Sets: Unterschied zwischen den Versionen
Aus Wiki-WebPerfect
Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Get all Availability Sets == <source lang="powershell">Get-SCAvailabilitySetName</source> == Remove all Availability Sets of a VM == <source lang="powersh…“) |
(kein Unterschied)
|
Version vom 25. Oktober 2018, 11:02 Uhr
Inhaltsverzeichnis
Get all Availability Sets
Get-SCAvailabilitySetName
Remove all Availability Sets of a VM
$AvailabilitySetNames= @() Get-SCVirtualMachine <VM-Name> | Set-SCVirtualMachine -AvailabilitySetNames $AvailabilitySetNames
Preferred Owner Nodes
Remove all Preferred Node Owner of a VM
$ClusterPreferredOwner = @() Get-SCVirtualMachine <VM-Name> | Set-SCVirtualMachine -ClusterPreferredOwner $ClusterPreferredOwner