Tag: vmtools

VMware Virtual Machine Reporting from VSphere

VMware PowerCLI is a powerful utility to generate virtual machine information and status. This is very cool and handy tool. I use to generate VMTools status, Datacenter and ESX host name information.

Command to connect vCenter:

Connect-VIServer vcenter1, vcenter2, vcenter

Initialize VMTools Version:
New-VIProperty -Name ToolsVersion -ObjectType VirtualMachine -ValueFromExtensionProperty ‘Config.tools.ToolsVersion’ -Force

Initialize VMTools Status:
New-VIProperty -Name ToolsVersionStatus -ObjectType VirtualMachine -ValueFromExtensionProperty ‘Guest.ToolsVersionStatus’ -Force

Verify VMTools status on all virtual machines and export the output to excel:
Get-VM | Select Name, ToolsVersion, ToolsVersionStatus | Export-Csv -NoTypeInformation -UseCulture -Path C:\Temp\VMToolsInfo.csv

Export VM name, cluster and ESX Host:
Get-VM | Select Name, @{N=”Cluster”;E={Get-Cluster -VM $_}}, @{N=”ESX Host”;E={Get-VMHost -VM $_}} | Export-Csv -NoTypeInformation C:\temp\VM_CLuster_Host-.csv

Export VM name and Cluster name:
Get-VM | Select Name, @{N=”Cluster”;E={Get-Cluster -VM $_}} | Export-Csv -NoTypeInformation C:\temp\test-VM_CLuster.csv

Thanks,
WintelAdmin.

Filed under: VMware (ESX / vSphere), Windows(2003/2008/2012)Tagged with: , , , , , , , , , , , , ,

VMware Tools is no more depended on vSphere/Esxi release.

VMware tools 10.0.0 is now no more dependent on vSphere release/Esxi builds. I think this is the first time when VMware released VMware Tools separately. As per release note its backward compatible, compatible with Esxi 5.0 and also compatible with Workstation 12.0 and VMware Fusion 8.0. It will allow to get the latest new features and enhancements made to the VMware tools faster to the customers.

You can download and install the latest version of VMware Tools from Here.

Thanks,
WintelAdmin

Filed under: VMware (ESX / vSphere), Windows(2003/2008/2012)Tagged with: , , , , , , , , , , , ,

VM Tools Update Failure [solved]

During VM Tools update, if you find any issues like unable to remove older version of VMware Tools or error 1714, you can remove old version manually from the registry to resolve the issue:

1. Open the Windows Registry using regedit.
2. Browse to HKLM\Software\Microsoft\Windows\CurrentVersion\uninstall.
Search for the branch with a key named DisplayName and has a value of VMware Tools.
Delete the branch associated with that entry. Do not delete the entire uninstall branch.
3. Browse to HKLM\Software\Classes\Installer\Products.
Search for the branch with the key named ProductName and has a value of VMware Tools.
Delete the branch associated with that entry.
4. Browse to HKEY_CLASSES_ROOT\Installer\Products.
Search for the branch with the key named ProductName and has a value of VMware Tools.
Delete the branch associated with that entry.
5. Browse to HKLM\Software\VMware.
Delete the branch called VMware Tools.
6. Ensure the folder located in %ProgramFiles%VMwareVMware Tools is deleted.
7. Install the new version of VMware Tools.

NOTE: Take the backup of the registry before performing the above steps.

Thanks,
WintelAdmin

Filed under: VMware (ESX / vSphere), Windows(2003/2008/2012)Tagged with: , , , , , , , , , , ,