标签:
1、为Cluster里的所有VM升级VMware Tools:
Get-Cluster "Cluster_Name" | Get-VM | Update-Tools -NoReboot
2、升级指定文件夹下VM的VMware Tools:
Get-Cluster "Cluster_Name" | Get-Folder "Folder_name" | Get-VM | Update-Tools -NoReboot
3、升级选定虚拟机的VMware Tools:
Get-Cluster "Cluster_Name" | Get-VM "VM_Name" | Update-Tools -NoReboot
4、查看虚拟机的VMware Tools版本:
Get-View -ViewType VirtualMachine | Select VM_Name,@{Name="ToolsVersion";Expression={$_.config.tools.toolsVersion}}
标签:
原文地址:http://www.cnblogs.com/chinajsks/p/4739117.html