[PowerCLI]: Change Local Account Password on ESXi
Usually, administrators using same password on all servers for easier management and there is some security reasons to change the password periodically such as defining an expire time for password or when one of members is left company.
Changing user’s password or many users password on a single host is too easy but what about more than host?
You know, VMware has provided some automation tools such as PowerCLI. The automation tools will help administrators to do their tasks much easier and faster than GUI.
In this post, you’ll find a simple solution for changing multiple users password on multiple ESXi hosts.
The Script!
The below script will help you to change a user account’s password on multiple ESXi servers:
I’ll publish another script to change multiple accounts password with multiple passwords on multiple ESXi servers.
Read More on Teimouri.net
[PowerCLI]: Add Local Administrator Account on ESXi
Using Client Information in VMware View
VMware Tools Client – Interact with a VM without Network Connectivity
VMware View Pool Entitelement Cleanup
Run ESXi Commands Via PowerShell And SSH
Could you please share script to reset root password for many esxi hosts (each host has different root password).
David,
Does this work against the administrator account as well? I need to change the password across thousands of hosts and. VCs for [email protected].
Hi,
No, it’s useful for local account not vCenter accounts.