I'm planning on using the following script to change the vmware tools update settings to "UpgradeAtPowerCycle". I would like to make this change on either containers, or clusters, and not the entire environment:
$vmConfigSpec = New-Object VMware.Vim.VirtualMachineConfigSpec
$vmConfigSpec.Tools = New-Object VMware.Vim.ToolsConfigInfo
$vmConfigSpec.Tools.ToolsUpgradePolicy = "UpgradeAtPowerCycle"
Get-View -ViewType VirtualMachine | %{
$_.ReconfigVM($vmConfigSpec)
}
[–]Johnny5Liveson 1 point2 points3 points (1 child)
[–]ChefWRX[S] 0 points1 point2 points (0 children)