VMware Tools ?
VMware Tools is a suite of utilities that enhances the performance of the virtual machine’s guest operating system and improves management of the virtual machine. … You can use the VMware Tools control panel to set various options that optimize your guest operating system for use in a virtual machine.
function Check-Tools { <# .NOTES **************************************** Created by: Rajiv Pandey Web URL: www.vthesis.wordpress.com **************************************** .DESCRIPTION It will display the list of VM's which are out of date VM tools with version . .Example Check-Tools -VMs (Get-VM) .Example $SampleVMs = Get-VM "Mgmt*" Check-Tools -VMs $SampleVMs #> [CmdletBinding()] param( [Parameter(Mandatory=$true, ValueFromPipeline=$True, Position=0)] [VMware.VimAutomation.ViCore.Impl.V1.Inventory.InventoryItemImpl[]] $VMs ) Process { #foreach ($VM in $VMs) { $OutofDate = $VMs | where {$_.ExtensionData.Guest.ToolsStatus -ne "toolsOk"} $Result = @($OutofDate | select Name,@{Name="ToolsVersion";Expression={$_.ExtensionData.Guest.Toolsversion}}) $Result } }
Thanks hope you like it.
Rajiv Pandey.