Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168455

Is there a way to know if a vm retruned from running Get-VM is a SRM replica vm

$
0
0

I am working on powercli 5.5 release 1e and i run the following command to get a list of vm under a hypervisor server:-

 

Get-VM

 

now i got many useful info such as :-

 

powerState    Version    Description    Notes    Guest    NumCpu    MemoryMB    MemoryGB    HardDisks    NetworkAdapters    UsbDevices    CDDrives    FloppyDrives    Host    HostId    VMHostId    VMHost    VApp    FolderId    Folder    ResourcePoolId    ResourcePool    PersistentId    UsedSpaceGB    ProvisionedSpaceGB    DatastoreIdList    HARestartPriority    HAIsolationResponse    DrsAutomationLevel    VMSwapfilePolicy    VMResourceConfiguration    Name    CustomFields    ExtensionData    Id    Uid    Client


but is there a way to know if a vm is a SRM replica or not  using Get-VM command or other commands?


now i am calling the power cli scripts (Get-VM) from my Visual Studio , so the replicated vm appear on one hypervisor server as follow (when it is PoweredOn):-

on.png


while the same replicated vm will appear under another hyper visor server as follow (it is poweroff):-


off.png


now i have noted that the replicated vm when it is powered off will have zero harddisk & zero CDDrive... so can this give an indication that it is SRM replica vm ? or i can not depend my indication on this as any vm which is poweroff regardless if it is a SRM replica or not will have any zero hardisk and zero CDDrive assigned to it ? can anyone adivce ?


Viewing all articles
Browse latest Browse all 168455

Trending Articles



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