Get disk drive information

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

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

时间: 2024-10-15 20:02:52

Get disk drive information的相关文章

HDU 4788 Hard Disk Drive

题目链接:HDU 4788 Hard Disk Drive 题面: Hard Disk Drive Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1872    Accepted Submission(s): 1028 Problem Description Yesterday your dear cousin Coach Pang

HDOJ 4788 Hard Disk Drive

Python3打表.... Hard Disk Drive Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1044    Accepted Submission(s): 564 Problem Description Yesterday your dear cousin Coach Pang gave you a new 100MB

HDU 4788 Hard Disk Drive(数学)

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4788 Problem Description Yesterday your dear cousin Coach Pang gave you a new 100MB hard disk drive (HDD) as a gift because you will get married next year. But you turned on your computer and the operati

HDU - 4788 Hard Disk Drive (成都邀请赛H 水题)

HDU - 4788 Hard Disk Drive Time Limit:1000MS   Memory Limit:32768KB   64bit IO Format:%I64d & %I64u [Submit]  [Go Back]  [Status] Description Yesterday your dear cousin Coach Pang gave you a new 100MB hard disk drive (HDD) as a gift because you will

HDOJ Hard Disk Drive 4788【2013成都区域赛H题-水】

Hard Disk Drive Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1887    Accepted Submission(s): 1042 Problem Description Yesterday your dear cousin Coach Pang gave you a new 100MB hard disk dri

[HDOJ4788]Hard Disk Drive(水题)

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4788 题意:1KB有的时候认为是1000B,有的时候是1024B.问两种方法之间的损失. YY个公式水过. 1 #include <algorithm> 2 #include <iostream> 3 #include <iomanip> 4 #include <cstring> 5 #include <climits> 6 #include <

HDU 4788 Hard Disk Drive (2013成都H,水题) 进位换算

1 #include <stdio.h> 2 #include <algorithm> 3 #include <string.h> 4 #include<cmath> 5 using namespace std; 6 double a; 7 char s[100]; 8 int fun(char s[]) { 9 if(strcmp(s,"B]") == 0)return 0; 10 if(strcmp(s,"KB]"

USB系列之七:ASPI介绍及命令测试

在以前的一篇博文<关于构建DOS下编程平台的总结>中曾经介绍了一种在DOS下驱动U盘的方法,我们大致回顾一下.在config.sys中加入两个驱动程序,就可以驱动U盘:    device = aspiohci.sys    device=di1000dd.sys    这两个驱动程序在上述博文中有下载.    如果大家仔细地阅读过我关于USB的文章的话,应该对OHCI这个东西不会陌生,在USB系列文章中,用大量的篇幅介绍了OHCI,这是因为OHCI这种符合USB1.1的控制器在使用上比UHC

Disk array controller and information processing apparatus

A disk array controller has a function of relocating a plurality of data blocks stored in a disk array. The controller includes a read unit which reads data blocks to be relocated from the disk array, a determining unit which determines whether an er