You are on the right path. Just for help, if you want to automate the operation to add all VMs to the inventory without the need to do it manually to all VMs:
How to register all VMs on all datastores with one command
Hope this helps
Marcelo
twitter: @mtsoares42