Trying to create a daily report of VMs and what SPBM they belong to. I have tried looping through all VMS:
$vm|Get-SpbmEntityConfiguration
As well a collecting all policies with associated VMs:
Get-SpbmStoragePolicy |Get-SpbmEntityConfiguration -VMsOnly
Either way it is very slow. Wondering if I am missiing something or if I should expect that getting the SPBM policy for 8000 VMs should take over an hour?
Thanks,