[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

ESXi Command-Line – Part 1

[Script]: Find ESXi HBA WWN via PowerCLI

Check CPU, Memory and Storage OverCommitment – PowerCLI

View Comments (3)