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?
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/
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/
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!
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"