PowerCLI: Update ESXi Root Password with Password Generator

From VI-Toolkit
Jump to navigation Jump to search

PowerCLI – Update ESXi Root Password with Password Generator

author: Jonathan Frappier

Description

This script gives you the possibility to automatically generate a new password for the specified user on each host in the cluster you connect to.

Usage

The script prompts you for:

  • Name of the vCenter Server
  • Name of the cluster
  • Name of the account you want to change
  • Current password for the account to change

After that it will change the password of the user within that cluster and change the details into the Change-HostPasswords.csv file in the format:

Date, Host, Password, Result

Location

http://www.virtxpert.com/powercli-update-esxi-root-password-password-generator/