Hello,
Recently I get a task to write PowerCLI script which will set HARestartPriority to "Highest (not High!) on specific VM's. Highest value as an option was added in vSphere 6.5, but I can set it only via GUI. Via PowerCLI by default I can set only High, Medium, Low, Disabled and ClusterDefault. Is it possible somehow force PowerCLI to set Highest option?
Thank you!
In my PowerCLI version 6.5.4, I have the highest option on the Set-Cluster -HARestartPriority parameter.
$clusterName = 'MyCluster'
Get-Cluster -Name $clusterName | Set-Cluster -HARestartPriority Highest
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
In my PowerCLI version 6.5.4, I have the highest option on the Set-Cluster -HARestartPriority parameter.
$clusterName = 'MyCluster'
Get-Cluster -Name $clusterName | Set-Cluster -HARestartPriority Highest
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
It seems that they added "Highest" option in newer version My current PowerCLI version 6.5
Thank you Luc!