I found this while surfing the forums this little bit of code will place an ESX Host in maintenance mode. I wonder what other values might exist for the -State switch?
Here are a couple more state's that I found: Set-VMHost -State Disconnected Set-VMHost -State Connected
John Tuffin's Personal Log about E-Learning Course Development
View cpqarray's profile
Here are a couple more state's that I found:
Set-VMHost -State Disconnected
Set-VMHost -State Connected