Update: Calling IaaS Web is no longer require as of 7.5 (I was using 7.0 previously), you can get the custom properties by making direct call to VRA. Furthermore, to call IaaS Web you need an account that has access to the Windows server, which may not be the same account to access VRA, so it becomes more painful.
Getting the properties of a VM provisioned in vRA is not straight forward, you need to get those information from the IaaS Web server instead of from vRA
This site shows you how you can get to it.
I am not sure which version the author has, but in version 7.2 the properties are not so straight forward and they strangely don’t expand when exported to a JSON file. However let’s first deal with the NTLM authentication on IaaS Web via a Invoke-RestMethod call. Its actually very straight forward, but hard to find; simply speaking, you use get-credential to capture the windows credentials and input it with -credential parameter.Read the rest of this entry »