VMware Cloud Community
satishchirala
Enthusiast
Enthusiast

How to Register the Vm and Unregister the VM using Power Cli

i had 50 Cluster in my vcenter and each cluster having 50 Hosts , i want to unregister all the VM using single line command and same time , i want to register all the vm in a cluster, please help me for solving this.......

Thanks

Satish.P

Tags (1)
Reply
0 Kudos
2 Replies
FranckRookie
Leadership
Leadership

Hi Satish,

You can find a lot of useful PowerCLI examples in this article.

Good luck.

Regards

Franck

Reply
0 Kudos
gekko
Enthusiast
Enthusiast

LucD has a good script that scans for VMX files on all datastores and registers them in VC..

Probably doesn´t solve everything for you but its a good script to get you started..

http://www.lucd.info/2009/12/02/raiders-of-the-lost-vmx/

-Kenth

Reply
0 Kudos