Identify the VM where the VMware tools not installed using PowerCLI

If you have a large datacenter having too many VMs, you may find it difficult to filter the VMs, using the super powerful tool vSphere PowerCLI you can get the VM with filters

To get the VM where the tool is not installed, run the below script after connecting with VI-Server

Get-VM -name windows-* | ?{$_.extensiondata.guest.toolsstatus -eq 'toolsNotInstalled'}

Also published on Medium.

This site uses Akismet to reduce spam. Learn how your comment data is processed.