VMware Cloud Community
orian
Hot Shot
Hot Shot

Register all Virtual Machine

Hi,

What is the best way to "add to inventory" all virtual machines from the connected datastores?

In Powershell it's easy:

- loop over the connected datastores, and search for vmx file.

- register the virtual machine according the information collected in the previous step.

Thanks!

0 Kudos
4 Replies
batuhandemirdal
Enthusiast
Enthusiast

Hi,

You can use the RVTools program. It's easy to use, all the information comes in excel format.

0 Kudos
orian
Hot Shot
Hot Shot

Hi,

I prefer to use vmware orchestrator...

0 Kudos
vasan22in
Enthusiast
Enthusiast

Hello,

Poweshell script is fine for this. Can you refer the below link,

Add Virtual Machines (.VMX) to Inventory using PowerShell - VirtuallyBoring  ..

Please consider marking this answer "correct" or "helpful" if you think your query have been answered correctly. Thanks, Srini
0 Kudos
orian
Hot Shot
Hot Shot

Hi,

I prefer using the benefit of the vmware orchestrator, instead of using powershell script.

Is it possible?

Thanks!

0 Kudos