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.

Connect to a vSphere server.


Create a new custom property based on the Guest.ToolsVersion property.

New-VIProperty -ObjectType VirtualMachine -Name ToolsVersion -ValueFromExtensionProperty 'Guest.ToolsVersion'

View the ToolsVersion properties of the available virtual machines.

Get-VM | Select Name, ToolsVersion

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