# Vmware\_guest\_info parameter field not finding value

**URL:** <https://forum.ansible.com/t/vmware-guest-info-parameter-field-not-finding-value/7024>\
**Category:** Get Help\
**Tags:** windows, vmware\
**Created:** [July 3, 2024, 6:18pm UTC](https://forum.ansible.com/t/vmware-guest-info-parameter-field-not-finding-value/7024 "2024-07-03T18:18:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlemons](https://avatars.discourse-cdn.com/v4/letter/t/edb3f5/32.png) [@tlemons](https://forum.ansible.com/u/tlemons)\
**Post date:** [July 3, 2024, 6:18pm UTC](https://forum.ansible.com/t/vmware-guest-info-parameter-field-not-finding-value/7024/1 "2024-07-03T18:18:02Z")

</div>

Hi - When I execute the vmware\_guest\_info module without the ‘properties’ parameter, the task succeeds and a subsequent debug/msg shows the expected output:

```auto
    "msg": "The vm_info output is {'instance': {'_vimid': 'vm-40213', '_vimref': 'vim.VirtualMachine:vm-40213', '_vimtype': 'vim.VirtualMachine', 'alarmActionsEnabled': True . . .

```

But when I try to use the vmware\_guest\_info ‘properties’ parameter as described in the documentation, the debug/msg always returns:

fatal: [[ldpdd196.hop.lab.emc.com](http://ldpdd196.hop.lab.emc.com) → localhost]: FAILED! =\> {“changed”: false, “msg”: “Property ‘\_vimid’ not found.”}

I’ve tried all the combinations of defining the ‘properties’ value that I can think of (square brackets, quotes, etc.), but nothing works. It doesn’t help that the sample ‘Return Values’ in the documentation does not match the values used in the Examples.

```auto
- name: Retrieve VM information
  community.vmware.vmware_guest_info:
    hostname: "{{ management_vcenter_ip }}"
    validate_certs: false
    username: "{{ management_vcenter_user }}"
    password: "{{ management_vcenter_password }}"
    datacenter: "{{ datacenter }}"
    folder: "{{ vm_folder }}"
    name: "{{ vm_name }}"
    schema: vsphere
    properties: ["_vimid"]
  delegate_to: localhost
  register: vm_info

- debug:
    msg: "The vm_info output is {{ vm_info }}"

```

Thoughts, please! Thanks!

---

<div class="post-metadata">

**Author:** ![mikemorency](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mikemorency/32/2672_2.png) [@mikemorency](https://forum.ansible.com/u/mikemorency)\
**Post date:** [July 17, 2024, 7:51pm UTC](https://forum.ansible.com/t/vmware-guest-info-parameter-field-not-finding-value/7024/2 "2024-07-17T19:51:41Z")

</div>

i think the property gets renamed at some point. try `moid`
