Check allocation_unit_size

2 views
Skip to first unread message

Maxime Gendrot

unread,
May 3, 2019, 10:23:41 AM5/3/19
to Ansible Project
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

Reply all
Reply to author
Forward
0 new messages