How to Use Command Prompt to Get Hard Drive Information
Step 1: Open Command Prompt
Search for Command Prompt and click the top result to open the app. To open Command Prompt as an administrator, right-click the top result and select Run as administrator.
In the Command Prompt window, type the following command to get the name of the hard drive brand and model:
wmic diskdrive get name,brand,model
Press Enter to execute the command. The output will display the name, brand, and model of the hard drive.
Step 2: Get Additional Hard Drive Information
You can also use WMIC to get more detailed information about the hard drive, such as its size, speed, and health. Here are some additional commands you can use:
wmic diskdrive get size
- Get the size of the hard drive in bytes.wmic diskdrive get status
- Get the status of the hard drive (e.g., OK, Warning, Failed).wmic diskdrive get model
- Get the model of the hard drive.wmic diskdrive get serialnumber
- Get the serial number of the hard drive.wmic diskdrive get firmwareversion
- Get the firmware version of the hard drive.
Comments