hope this could help:
to solve your problem you cloud connect to vcenter or use a csv and cycle through every hosts.
Hope this could help
For PowerCLI related tasks google for:
change esxi root password powercli site:lucd.info
Make sure you don't forget site:lucd.info in the search string.