I am getting exit code as 0x80131029 when running powershell through VMware API.
Is there anyway I can find out the reason for this exit code through windows log or any other method?
Following cmdlets are being used:
Get-WMIObject
Get-ItemProperty
Get-CimInstance

With below function you can get (most of) the descriptions for these HRESULT values:
In your case:
returns
Hope that helps