It is giving me all the right values
Get-VM EQ2 |
Select Name,
@{N="LogPath";E={$_.ExtensionData.Config.Files.LogDirectory}},
@{N="vmPathName";E={$_.ExtensionData.Config.Files.vmPathName}}
Name LogPath vmPathName
---- ------- ----------
EQ2 [123-1] EQ2/ [123-1] EQ2/EQ2.vmx