I have a environment of engineer's who maintain their own environment generally. However I noticed most of the hosts don't have vmware tools installed. I would like to see or be alerted at least of the hosts which don't have it. There must be a better way then clicking on each hosts summary page to see if its installed or not. I also know you can make vCenter show you on the list views page if its installed or not.
However i'm sure there is another way to easily get hosts without tools installed, which I can share with the engineers..
You have a couple options.
1) Setup and use the vCheck script
2) or run this powercli command -
get-vm | % { get-view $_.ID } | select Name, @{ Name="hostName"; Expression={$_.guest.hostName}}, @{ Name="ToolsStatus"; Expression={$_.guest.toolsstatus}}, @{ Name="ToolsVersion"; Expression={$_.config.tools.toolsVersion}} | sort-object name
You have a couple options.
1) Setup and use the vCheck script
2) or run this powercli command -
get-vm | % { get-view $_.ID } | select Name, @{ Name="hostName"; Expression={$_.guest.hostName}}, @{ Name="ToolsStatus"; Expression={$_.guest.toolsstatus}}, @{ Name="ToolsVersion"; Expression={$_.config.tools.toolsVersion}} | sort-object name
Just thought of another option.
If you highlight your Datacenter, cluster or server and click on the "Virtual Machines" tab. Then right click and make sure that VMware tools version and running status is checked. This will show you what you are looking for.
Yeah, I found this also after I made the post.. But I like your vCheck script also.. Tks!