# Check allocation\_unit\_size

**URL:** <https://forum.ansible.com/t/check-allocation-unit-size/30261>\
**Category:** Ansible Project\
**Created:** [May 3, 2019, 2:23pm UTC](https://forum.ansible.com/t/check-allocation-unit-size/30261 "2019-05-03T14:23:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxime\_Gendrot](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@Maxime\_Gendrot](https://forum.ansible.com/u/Maxime_Gendrot)\
**Post date:** [May 3, 2019, 2:23pm UTC](https://forum.ansible.com/t/check-allocation-unit-size/30261/1 "2019-05-03T14:23:41Z")

</div>

Hi,

I Would like to use win\_disk\_facts to check allocation\_unit\_size for each disk.

I can do it with powershell:  
($wql = “SELECT Label, Blocksize, Name FROM Win32\_Volume WHERE FileSystem=‘NTFS’”

Get-WmiObject -Query $wql -ComputerName ‘.’ | Select-Object Name, Blocksize)

But I can’t with Ansible.  
Can you help me?

Thanks

Maxime
