Reply to Message

View discussion in a popup

Replying to:
natxoasenjo
Enthusiast
Enthusiast

no, you need to retrieve the 'name' property of the vm, you just retrieved the 'summary.customValue' . So try this:

my $vm_view = Vim::find_entity_views(

    view_type  => 'VirtualMachine',

    filter     => { 'guest.guestState' => 'running' },

    properties => [ 'summary.customValue', 'name', ],

);