There is no VAMI for Windows. So, you will have to retrieve the OVF properties yourself and process them. The tool's binary called vmware-rpctool should allow you to see the properties from the guestinfo.ovfEnv area.
1 person found this helpful
Sorry, I should be more helpful. Ensure that the VM has VMware Tools in it, and run the following command to retrieve the OVF environment presented to the VM by vCenter:
"C:\Program Files\VMware\VMware Tools\rpctool.exe" "info-get guestinfo.ovfEnv"
You can capture the output and parse out the properties that you are interested in.
Thanks for your response.I added few variables/parameters through vCenter and exported the OVF. Tried to depoloy this OVF in another vCenter. After deployment (and when I tried to power on) it prompted to fill the values for the parameters. I filled them in vCenter and powered on the VM.When the VM boots, tried to run the rpctool.exe command that you mentioned above and it says 'No value found'. Reinstalled/upgraded VMware Tools on this VM again, and run the command. No difference. It still says 'No value found'.Examined the OVF file, found that the parameters I entered are stored in <ProductSection> section of the OVF XML ( I expected them in <Environment> section) under <VirtualSystem>, like below.<ProductSection><Info>Information about the installed software</Info><Category>serverip</Category><Property ovf:key="serverip" ovf:type="string" vmw:qualifiers="AutoIp("VM Network")"><Label>serverip</Label></Property><Category>servername</Category><Property ovf:key="servername" ovf:type="string" ovf:userConfigurable="true"><Label>servername</Label></Property><Category>tomcatport</Category><Property ovf:key="tomcatport" ovf:qualifiers="MaxValue(5000)" ovf:type="uint16" ovf:userConfigurable="true"><Label>tomcatport</Label></Property></ProductSection></VirtualSystem>What went wrong for me ? Why I didn't get the variables through VMware tools ? Please clarify.
Hmm. Can you define the properties in Studio and build the VM and try it? Using vCenter export after creating properties *ought* to work, but if you are finding issues with that flow, then Studio isn't involved, and you'd be better off asking the vSphere or OVF community forums.
The right command to see the OVF environment properties:
"C:\Program Files\VMware\VMware Tools\vmtoolsd.exe" --cmd "info-get guestinfo.ovfEnv"