I am attempting to write a powercli script that will return the current set value of the DRS migration threshold.
I will use this value to validate against a configuration baseline document.
I have found scripts to change the threshold slider, but I just want to return the current threshold (ie: level 1, Level 2...) not change it.
Any help would be great
Thanks
(get-cluster | get-view).configuration.drsconfig.vmotionrate
If I remember correctly the rate starts with 1 as the most aggressive (so the slider to the far right)
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
(get-cluster | get-view).configuration.drsconfig.vmotionrate
If I remember correctly the rate starts with 1 as the most aggressive (so the slider to the far right)
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Please look at the following link. I Think it can help you to write an useful powercli script to for purpose:
https://vmscribble.com/powercli/change-drs-migration-threshold-script/