Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 180329

find CIB MS cluster VMs

$
0
0

Hello, fortunately we have very few of these CIB VMs, leftovers from the past. however I can't find the right way to spot them with PowerCLI.

 

In VMs with RDMs is easy as I grab the:

 

 

foreach($vm in $vms){  foreach($dev in $vm.Config.Hardware.Device){    if(($dev.gettype()).Name -eq "VirtualDisk"){       if($dev.Backing.CompatibilityMode -eq "physicalMode"){

 

however in CIB VMs the $dev.Backing.CompatibilityMode -eq "virtualMode" does not exist. Actually if I

 

$test = Get-VM "CAB VM" | Get-HardDisk

I then can get the:

$test.extensiondata.backing.compatibilitymode

 

which does not exist in the case of a CIB VM, this is what I have available if I $test.extensiondata.backing on a CIB VM:

 

DiskMode               : persistent
Split                       : False
WriteThrough           : False
ThinProvisioned        : False
EagerlyScrub           : True
Uuid                        : 6000C291-247a-d2fe-a957-6ea668bd39da
ContentId              : 4d937daff0119c687e1381c025ee79e1
ChangeId               :
Parent                      :
DeltaDiskFormat        :
DigestEnabled          : False
DeltaGrainSize         :
DeltaDiskFormatVariant :
Sharing                :
KeyId                  :
LinkedView             :
FileName               : [DS name] VM folder/vmName_7.vmdk
Datastore              : Datastore-datastore-2202
BackingObjectId        : 2-2032-0

Viewing all articles
Browse latest Browse all 180329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>