Set advanced settings on all hosts

Got an advanced setting to change on all hosts? PowerCLI to the rescue:

Get-AdvancedSetting -entity (get-cluster ClusterName | get-vmhost) -name "Advanced.Option" | set-advancedsetting -value 'VALUE_HERE' -confirm:$false

One thought on “Set advanced settings on all hosts

  1. Pingback: Cpu.PcpuMigrateIdlePcpus | VirtIRL

Comments are closed.