Read the raw and the formatted size
**Get-Disk** reports the decimal capacity the vendor sells; **Get-Volume** reports the binary size Explorer shows. The ratio is the familiar 0.93.
Get-Disk | Select-Object Number,FriendlyName,Size,@{n='GB_dec';e={[math]::Round($_.Size/1GB,2)}},@{n='GB_bin';e={[math]::Round($_.Size/1GB,2)}}
Get-Volume | Select-Object DriveLetter,FileSystem,Size,SizeRemaining
Get-CimInstance Win32_DiskDrive | Select-Object Model,Size,Partitions