How to find out the size of the physical disk (not partition!) In Windows 7 up to a byte?
Computer Management -> Disk Management shows the value in GB.
I didn’t find how to do it through powershell or wmic , but there is a windows version of the SMART Monitoring Tools package. The syntax is the same as in linux , i.e. For the first hard disk, you must enter smartctl --all /dev/sda .
. All that remains is to strip the User Capacity string.
wmic diskdrive get size,status,model - LamerXaKerSource: https://ru.stackoverflow.com/questions/506861/
All Articles
chkdsk- Invision