In Windows, there is a special command called wmic that can provide you with a large amount of information about your system. Today, we will be using it to extract details about your computer's disk drives.

Sometimes you need to quickly find information about your storage devices connected to your computer, including their serial numbers, brand, model, and a host of other properties. You can get all of this with a single command from the taskbar. Let's see how it can be done.
There is a special command, WMIC, that uses Windows Management Instrumentation (WMI) to provide information about all storage devices installed in Windows. It works in all modern versions of Windows, including Windows 10. You can use it as follows:
Open a taskbar window and type or copy-paste the following command:
wmic diskdrive get Name, Manufacturer, Model, InterfaceType, MediaType, SerialNumber
It will return information about the storage devices you have that are not usually visible without third-party tools. In our case, the results of our search were as follows:

The full list of properties you can use for the above query is as follows:
- Availability
- BytesPerSector
- Capabilities
- CapabilityDescriptions
- Caption
- CompressionMethod
- ConfigManagerErrorCode
- ConfigManagerUserConfig
- CreationClassName
- DefaultBlockSize
- Description
- DeviceID
- ErrorCleared
- ErrorDescription
- ErrorMethodology
- FirmwareRevision
- Index
- InstallDate
- InterfaceType
- LastErrorCode
- Manufacturer
- MaxBlockSize
- MaxMediaSize
- MediaLoaded
- MediaType
- MinBlockSize
- Model
- Name
- NeedsCleaning
- NumberOfMediaSupported
- Partitions
- PNPDeviceID
- PowerManagementCapabilities
- PowerManagementSupported
- SCSI Bus
- SCSILogicalUnit
- SCSIPort
- SCSITargetId
- SectorsPerTrack
- Serial Number
- Signature
- Size
- Status
- StatusInfo
- SystemCreationClassName
- SystemName
- TotalCylinders
- TotalHeads
- TotalSectors
- TotalTracks
- TracksPerCylinder
You can find their descriptions on the following MSDN page: Win32_DiskDrive.
