I wanted to change the power setting of all my hosts to high performance and not do it one at a time manually.
This is an easy to accomplish this with powerCLI.
====================================================================
Add-PSSnapin VMWare.VimAutomation.Core
connect-VIServer -server <vcenter.your.domain> -User <DOMAIN\User> -Password <password>
$vmHosts = Get-VMHost
foreach ($vmHost in $vmHosts)
{
$view = (Get-VMHost $vmHost | Get-View)
(Get-View $view.ConfigManager.PowerSystem).ConfigurePowerPolicy(1)
}
====================================================================
This sets the Power Policy to High Performance (1)
1=HighPerformance
2=Balanced
3=LowPower