简体   繁体   中英

Command to get Hard disk & processor spec remotely

什么是命令有助于获取远程Windows机器中的硬盘和处理器的信息?

If you can rely on running on Windows Vista or later, then you can use WMIC. For details on WMIC, check out http://msdn.microsoft.com/en-us/library/windows/desktop/aa394531(v=vs.85).aspx .

To get CPU information try wmic cpu

To get hard disk information try either wmic diskdrive or wmic logicaldisk depending on whether you want information of the disk devices or logical drives.

Since the lines will often wrap, making it difficult to read in a console window, try this variant to redirect the output to text files:

wmic cpu > cpu.txt
wmic diskdrive > diskdrive.txt
wmic logicaldisk > logicaldisk.txt

You can then examine the files cpu.txt , diskdrive.txt and logicaldisk.txt at your convenience.

you can use this command: msinfo32

and then press Ctrl+R to put the computer IP that you want to connect

我会使用“systeminfo”,这就是我用来查找计算机的大部分内容

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM