Hello,
I have used Add-VMHost to add a host into the Datacenter / Cluster. I just wanted to change the host state to disconnect. is there any way i can use powershell commands to perform this?
Thanks,
krishnaprasad
You can use the Set-VMhost cmdlet with the State parameter for that.
Set-VMHost -VMHost (Get-VMHost -Name myESXhostname) -State Disconnected
Message was edited by: halr9000: corrected typo
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference