How do I know the exact size of a physical disk?

How do I find out the size of a physical disk (not a partition!) in Windows 7 with byte accuracy?

Computer Management -> Disk Management shows the value in GB.

Author: Qwertiy, 2016-03-26

2 answers

Use the built - in program"System Information".
Start-Run - msinfo32
Section " Components-Storage devices-Disks" Disk information

 8
Author: MaximK, 2016-03-28 06:44:28

I didn't find how to do this via powershell or wmic, but there is a Windows version of the package S. M. A. R. T. Monitoring Tools. The syntax is the same as in linux, i.e. for the first hard disk, enter smartctl --all /dev/sda.enter a description of the image here. All that remains is to parse the string User Capacity.

 3
Author: don Rumata, 2016-03-26 13:55:48