VMware Cloud Community
cody_bunch
Hot Shot
Hot Shot
Jump to solution

Re-Add VM to inventory

So, say you've rebuilt your esx host(s) and have remounted the datastore. How does one, re-add all of those VM's to inventory. It doesn't seem to be as straightforward as one would think.

-Cody Bunch

http://professionalvmware.com

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Thank You!

-Cody Bunch http://professionalvmware.com
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

The script in searches through all the datastores looking for VMX files and then registers them.

Is that what you are looking for ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

The script in searches through all the datastores looking for VMX files and then registers them.

Is that what you are looking for ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
cody_bunch
Hot Shot
Hot Shot
Jump to solution

It is exactly what I was looking for, and found it 35 seconds after I posted. Such is they way these things usually work.

-Cody Bunch

-Cody Bunch http://professionalvmware.com
0 Kudos