Hello Team,
We are planning to keep VMs on same datastore instead of multiple datastores, We have 10,000+ VMs in our inventory. Is there any script which will help us to find VMs which are stored on multiple datastores.Please assist me on the same
Try something like this
Get-VM | where{$_.ExtensionData.Datastore.Count -gt 1}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference