# Need to find out System hardware details for windows machine

**URL:** <https://forum.ansible.com/t/need-to-find-out-system-hardware-details-for-windows-machine/30576>\
**Category:** Ansible Project\
**Tags:** windows\
**Created:** [June 15, 2019, 7:06pm UTC](https://forum.ansible.com/t/need-to-find-out-system-hardware-details-for-windows-machine/30576 "2019-06-15T19:06:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nandha\_kumar1](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nandha\_kumar1](https://forum.ansible.com/u/nandha_kumar1)\
**Post date:** [June 15, 2019, 7:06pm UTC](https://forum.ansible.com/t/need-to-find-out-system-hardware-details-for-windows-machine/30576/1 "2019-06-15T19:06:30Z")

</div>

Hi Team,

Can anyone please tell me,how to find out the system hardware details like CPU,Memory and all for windows machine via ansible

Thanks,  
Nandhakumar

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [June 17, 2019, 3:30pm UTC](https://forum.ansible.com/t/need-to-find-out-system-hardware-details-for-windows-machine/30576/2 "2019-06-17T15:30:14Z")

</div>

fact gathering should get you all that information, inspect  
`ansible_facts` variable.

---

<div class="post-metadata">

**Author:** ![nandha\_kumar1](https://avatars.discourse-cdn.com/v4/letter/n/90db22/32.png) [@nandha\_kumar1](https://forum.ansible.com/u/nandha_kumar1)\
**Post date:** [June 17, 2019, 5:06pm UTC](https://forum.ansible.com/t/need-to-find-out-system-hardware-details-for-windows-machine/30576/3 "2019-06-17T17:06:28Z")

</div>

Thanks Brian…how do we extract the details from the output?

Is there any other way apart from gathering fact Brian?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [June 17, 2019, 6:39pm UTC](https://forum.ansible.com/t/need-to-find-out-system-hardware-details-for-windows-machine/30576/4 "2019-06-17T18:39:32Z")

</div>

> Thanks Brian..how do we extract the details from the output?

not sure what you mean, you just access the details.

> Is there any other way apart from gathering fact Brian?

You can write your own module to do the same?
