I want to be able to do something like this:
- Query VMs on a particular datastore e.g. vSANdatastore, VVolDatastore
- Query policy of those VMs e.g. Get-SpbmEntityConfiguration
- Query default policy on datastore
- Flag if there is a mismatch between policy of VM and default policy on datastore – i.e. did someone provision something with the wrong policy
Most of this is simple enough (and yes, I can probably hard-code the datastore policy bit into the check for now) but it would be nice if we could get the policy off of the datastore like we can for a VM/Disk.