Skip to content

Instantly share code, notes, and snippets.

@marcogrcr
Created July 14, 2023 02:33
Show Gist options
  • Save marcogrcr/c5d20ce61e183dc95538d898ed93621f to your computer and use it in GitHub Desktop.
Save marcogrcr/c5d20ce61e183dc95538d898ed93621f to your computer and use it in GitHub Desktop.
Get disk allocation block size
# Source: https://www.alitajran.com/get-allocation-unit-size-powershell/
Get-CimInstance -ClassName Win32_Volume | Select-Object Name, FileSystem, Label, BlockSize | Sort-Object Name | Format-Table -AutoSize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment