[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 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.