Syntax
Set-VsanFaultDomain [-VsanFaultDomain] <VsanFaultDomain[]> [-AddVMHost <VMHost[]>] [-RemoveVMHost <VMHost[]>] [-Name <String>] [-RunAsync] [-Server <VIServer[]>] [-WhatIf] [-Confirm] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet changes the configuration of a specified vSAN fault domain. You can change the name and specify a list of hosts to move in or out.Parameters
Return Type
The list of updated VsanFaultDomain objectsNotes
Examples
-------------- Example 1 --------------
Set-VsanFaultDomain -VsanFaultDomain $fd -Name "NewName" -AddVMHost $vmHost1, $vmHost2 -RemoveVMHost $vmHost3
Renames the $fd vSAN fault domain to "NewName" and adds the $vmHost1 and $vmHost2 virtual machine hosts to it. Also, removes the $vmHost3 virtual machine host from the renamed vSAN fault domain.