dshivamu
Contributor
Contributor

Need a script to reset the local admin password for all VMs

Hello

Someone can help me, how to reset the password for local administrator, i tried vm-invoke command, but it says run power CLI through 32 bit command mode. I am looking for answer how to get it done for 1000 VM's

0 Kudos
1 Reply
RvdNieuwendijk
Leadership
Leadership

You are right. The Invoke-VMScript cmdlet only runs on PowerCLI 32-bits. If you have installed PowerCLI on a 64-bits system, you will have the "VMware vSphere PowerCLI (32-bit)" also installed on your system. You should use that to run your script.

If you have any problems with the script itself, let us know and we will try to help you with the script also.

Regards, Robert

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
0 Kudos