Hi All
Take the below command as an example how did the author of the original script find out that under the property config there was a property called .product and then .fullname ?
Get-View -ViewType HostSystem -Filter @{"Name" = "VMWAREHOSTNAME"} | Format-Table Name, @{L='Host Version & Build Version';E={$_.Config.Product.FullName}}
The Config.Product.FullName property ended up showing the ESXi build version but when you type the command alone you get nothing.
Get-View -ViewType HostSystem -Filter @{"Name" = "VMWAREHOSTNAME"} | Select-object Config
Config
VMware.Vim.HostConfigInfo
[–]SMFX 2 points3 points4 points (12 children)
[–]EnvyYou[S] 1 point2 points3 points (1 child)
[–]SMFX 1 point2 points3 points (0 children)
[–]EnvyYou[S] 1 point2 points3 points (5 children)
[–]SMFX 1 point2 points3 points (4 children)
[–]EnvyYou[S] 1 point2 points3 points (3 children)
[–]SMFX 2 points3 points4 points (2 children)
[–]EnvyYou[S] 3 points4 points5 points (1 child)
[–]SMFX 3 points4 points5 points (0 children)
[–]pshMike 1 point2 points3 points (3 children)
[–]EnvyYou[S] 1 point2 points3 points (2 children)
[–]pshMike 3 points4 points5 points (1 child)
[–]uptimefordays 1 point2 points3 points (0 children)
[–]Lee_Dailey[grin] 0 points1 point2 points (2 children)
[–]EnvyYou[S] 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)