… via PowerCLI by moving all the powered-off VMs to some other host while DRS handles the powered-on ones:
get-vmhost <maint mode host> | get-vm | where {$_.powerstate -eq "poweredoff"} | move-vm -destination <other host>
… via PowerCLI by moving all the powered-off VMs to some other host while DRS handles the powered-on ones:
get-vmhost <maint mode host> | get-vm | where {$_.powerstate -eq "poweredoff"} | move-vm -destination <other host>