Sometimes you need to quickly find the interface through which your storage is connected inside your PC, and its serial number and a set of other properties. With a single console command you can retrieve a lot of information about your disk drive. Let's see how it can be done.
There is a special WMIC command which utilizes Windows Management Instrumentation (WMI) to provide information about all storage devices you have installed in Windows. It works in all modern Windows versions including Windows 10. You can use it as follows.
- Open a new instance of the command prompt.
- Type or copy-paste the following command:
wmic diskdrive get Name, Manufacturer, Model, InterfaceType, MediaType, SerialNumber
It will give you information about the storage devices you have. This is usually not visible without third party tools.
You can find their descriptions at the following MSDN page: Win32_DiskDrive.
WMIC is a really useful tool to perform WMI queries in Windows. Here are a few more examples of such queries:
- Get all network adapter details in Windows 10 with this command.
- Get BIOS Information via Command Prompt in Windows 10
- How to see DDR memory type in command prompt in Windows 10
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options: