VMware Cloud Community
as900w
Hot Shot
Hot Shot
Jump to solution

How to Create a report all virtual machines that don't have VMware tools installed?

I have a lot of VM on my vSphere environment.

But have some VM don't have installed VMware tools.

I want to create a report to list all VM that don't have installed VM tools.

What should I do?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
dbalcaraz
Expert
Expert
Jump to solution

Hello,


There is a lot of information on the Internet, you need to use PowerCLI in order to do it.

You can for example use this: https://captainvops.com/2017/05/16/get-vm-tools-version-with-vmwares-powercli/

Also there is a nice program called RVTools which helps you to gather a lot of information (even the VMware tools status): https://www.robware.net/rvtools/

-------------------------------------------------------- "I greet each challenge with expectation"

View solution in original post

0 Kudos
3 Replies
dbalcaraz
Expert
Expert
Jump to solution

Hello,


There is a lot of information on the Internet, you need to use PowerCLI in order to do it.

You can for example use this: https://captainvops.com/2017/05/16/get-vm-tools-version-with-vmwares-powercli/

Also there is a nice program called RVTools which helps you to gather a lot of information (even the VMware tools status): https://www.robware.net/rvtools/

-------------------------------------------------------- "I greet each challenge with expectation"
0 Kudos
vxprthu
Enthusiast
Enthusiast
Jump to solution

Hey

You can create reports based on different properties within the gui. You just have to click to the black down arrow in the search bar and select "create a new search".

On the next screen add all the required criterias you need and save the search.

Good luck!



Blog: vxprt.hu
0 Kudos
T180985
Expert
Expert
Jump to solution

To list all VMs where the tools arnt "ok"

get-vm | where {$_.ExtensionData.Guest.ToolsStatus -notlike "toolsOk"} | select name, @{Name='Tools Status';Expression={$_.ExtensionData.Guest.ToolsStatus}}

Or specifically not install...

get-vm | where {$_.ExtensionData.Guest.ToolsStatus -like "toolsNotInstalled"} | select name, @{Name='Tools Status';Expression={$_.ExtensionData.Guest.ToolsStatus}}

to export to csv

get-vm | where {$_.ExtensionData.Guest.ToolsStatus -notlike "toolsOk"} | select name, @{Name='Tools Status';Expression={$_.ExtensionData.Guest.ToolsStatus}} | export-csv -path "filepath\name.csv"

Please mark helpful or correct if my answer resolved your issue. How to post effectively on VMTN https://communities.vmware.com/people/daphnissov/blog/2018/12/05/how-to-ask-for-help-on-tech-forums