You can create custom properties to add more information to vSphere objects. Custom properties based on extension data properties correspond directly to the property of the corresponding .NET view object.

Prerequisites

Verify that you are connected to a vCenter Server system.

Procedure

  1. Create a new custom property based on the Guest.ToolsVersion property.
    New-VIProperty -ObjectType VirtualMachine -Name ToolsVersion -ValueFromExtensionProperty 'Guest.ToolsVersion'
  2. View the ToolsVersion properties of the available virtual machines.
    Get-VM | Select Name, ToolsVersion

Results

You have created a custom property named ToolsVersion for VirtualMachine objects.