Hello, AGFlora-
You were close. Just needed to adjust the calculated property for "Owner" a bit, like:
Get-VM | Select @{N="VM";E={$_.name}},@{N="ToolsVersion";E={$_.ExtensionData.Config.Tools.ToolsVersion}},
@{N="Owner";E={(Get-Annotation -Entity $_ -CustomAttribute "Owner").Value}} |
Export-Csv c:\temp\tools.csv -NoTypeInformation -UseCulture
Also, the value that you were using for "Tools Version" was actually the VM's virtual hardware version. I adjusted that calculated property to get the VMware Tools version for the given VM.
That do it for you?
Edit: doh, Luc is quicker than me on the response...