Hi,
Is there an easy way to change root passwords of esxi/esx hosts via powercli?
thanks!!!
You can use the Set-VMHostAccount cmdlet to change the root password of an ESX/ESXi server. Remember that you need to connect directly to the host to do this.
Connect-VIServer -Server ESX1.yourdomain.com -User root -Password secret
Set-VMHostAccount -UserAccount root -Password topsecret
Regards, Robert
You can use the Set-VMHostAccount cmdlet to change the root password of an ESX/ESXi server. Remember that you need to connect directly to the host to do this.
Connect-VIServer -Server ESX1.yourdomain.com -User root -Password secret
Set-VMHostAccount -UserAccount root -Password topsecret
Regards, Robert