VMware Cloud Community
roopali1
Enthusiast
Enthusiast

Check VM Override settings

Hi All, 

Can someone please help me with the PowerShell syntax to get the VMOverride settings.

Thanks!

Labels (1)
Tags (2)
0 Kudos
9 Replies
scott28tt
VMware Employee
VMware Employee

Expect your thread to be moved to the PowerCLI area now I've reported it.

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
LucD
Leadership
Leadership

roopali1
Enthusiast
Enthusiast

Thanks for the reply, i think the script is for HA settings only. it's not getting the vmoverride settings.

I'm looking for script which can get the VMoverride settings at the cluster.

0 Kudos
LucD
Leadership
Leadership

Besides the HA settings, the DRS Automation Level is showing the DRS VM override setting.

Or what exactly do you mean?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
roopali1
Enthusiast
Enthusiast

I'm looking for below information

 

roopali1_0-1649411647039.png

 

0 Kudos
LucD
Leadership
Leadership

What is listed there under the vSphere DRS Automation Level, is exactly what the script returns


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

roopali1
Enthusiast
Enthusiast

I tried to run the same script and getting below output.


Cluster : ********
VM : ************
DRS Automation Level : AsSpecifiedByCluster
VM Restart Priority : ClusterRestartPriority
Additional Delay : 0
After Timeout : 600
Host Isolation : AsSpecifiedByCluster
Permanent Device Loss : disabled

0 Kudos
LucD
Leadership
Leadership

Yes, and "DRS Automation Level : AsSpecifiedByCluster" is the DRS setting.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

roopali1
Enthusiast
Enthusiast

yeah got that. thank you !!

0 Kudos