NPetersen

A nerdy blog by me - Server, AV, Cloud and DevOps related stuff. Server and network dude that went Cloud/DevOps, previously working with VMware.
| | |

Place a VSAN Witness host into maintenance through PowerCLI

2022-07-24

The PowerCLI documentation is actually really good, but sometimes the documentation is just silly aswell. I was trying to make a vSAN Witness host go into Maintenance Mode through PowerCLI and had trouble doing it.

The Set-VMHost command has some parameters you can set for VSAN Data Migration and stuff like that, so i thought maybe it wanted to do something with vSAN even though the GUI is the normal Maintenance Mode dialog box.

vCenter GUI VSAN MM Mode

When I tried using the Set-VMHost command i got the error A specified parameter was not correct:

Continue reading