码迷,mamicode.com
首页 > 其他好文 > 详细

Get disk drive information

时间:2019-04-16 10:33:53      阅读:138      评论:0      收藏:0      [点我收藏+]

标签:head   info   res   form   clear   inter   tcap   ted   user   

wmic diskdrive get Name, Manufacturer, Model, InterfaceType, MediaType, SerialNumber

The full list of properties that you can use for the query above 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
?SCSIBus
?SCSILogicalUnit
?SCSIPort
?SCSITargetId
?SectorsPerTrack
?SerialNumber
?Signature
?Size
?Status
?StatusInfo
?SystemCreationClassName
?SystemName
?TotalCylinders
?TotalHeads
?TotalSectors
?TotalTracks
?TracksPerCylinder

Get disk drive information

标签:head   info   res   form   clear   inter   tcap   ted   user   

原文地址:https://blog.51cto.com/549687/2379265

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!