Automation

 View Only
  • 1.  datastore cluster - get list of VMs under VM overrides

    Posted Aug 10, 2020 01:20 PM

    Is it possibleto get a list of VMs under the DAtastore cluster VM overrides with powercli?



  • 2.  RE: datastore cluster - get list of VMs under VM overrides

    Posted Aug 10, 2020 01:31 PM

    Yes, but be aware that these VM can have different overrides.

    $dscName = 'MyDSC'

    $dsc = Get-DatastoreCluster -Name $dscName

    Get-View -Id $dsc.ExtensionData.PodStorageDrsEntry.StorageDrsConfig.VmConfig.VM |

    Select Name



  • 3.  RE: datastore cluster - get list of VMs under VM overrides

    Posted Aug 10, 2020 01:57 PM

    Thanks Lucd,

    I am looking for the list under VM Overrides. It does not show that



  • 4.  RE: datastore cluster - get list of VMs under VM overrides

    Posted Aug 10, 2020 02:10 PM

    It does for me