The VM DRS Score can be viewed per cluster per VM in vCenter. This per VM score shows which VMs are the most unhappy per cluster. I would like to export this info via Powercli on regular schedule so that I can correlate the DRS migrations to their VM DRS Score relative to the time of migration.
William Lam has a script that reports on VM DRS Score ranges in buckets, but not per VM:
https://williamlam.com/2022/01/retrieving-vm-drs-score-using-vsphere-api-and-powercli.html
Is this currently possible via PowerCLI or any VMware API?
Thanks