bloginfo

Get the ntfs filesystem's block size

Apr 2nd, 2021 (edited)
672
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Source : https://www.dsfc.net/materiel/disques-durs/powershell-taille-blocs-partitions-ntfs/
  2. # Get the ntfs filesystem's block size of the different partitions on your Windows OS
  3. Clear-Host
  4. Get-WmiObject -Class Win32_Volume |`
  5.     Where {$_.DriveLetter -ne $null -and $_.Capacity -gt 0} |`
  6.     Select Capacity, Caption, DriveLetter, BlockSize | Format-Table -AutoSize
Add Comment
Please, Sign In to add comment