I have a server farm of a couple hundred servers and i need to verify what version each server is running of Vmware tools on as this has become a possible issue with some apps that my company utilizes. im kind of a noob to Power shell and need some steps on how to do this or help with batch file that sends teh request out to each server and outputs a .csv file or text of each server showing what version of tools is installed.
Get yourself a copy of RVTools from http://www.robware.net/ and you will be presented with information about the version of tools on your VMs and a lot more. Don't forget to make a donation for this great "free" product.
Here's how you'd do it from PowerShell (requires PowerCLI)
$VCServer = "your.vcenter.server" $CSVFile = "C:\wherever\toolsreport.csv" Connect-VIServer $VCServer Get-VM | %{Get-View $_.Id} | select Name,@{n="ToolsVersion";e={$_.config.tools.toolsVersion}} | Export-Csv -NoTypeInformation -Path $CSVFile