Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Command to get Hard disk & processor spec remotely

Tags:

windows

cmd

wmic

What is the command(s) helps to get information of the Hard disk & processor in a remote windows machine ?

like image 478
Aan Avatar asked Dec 08 '12 05:12

Aan


People also ask

How do I find my hard drive in Command Prompt?

Here's how to run CHKDSK from Command Prompt on Windows: Type cmd (Command Prompt) in the Start menu search bar, then click Run as administrator. Type chkdsk and hit Enter. CHKDSK will scan for drive errors and let you know if it found any you should repair, but it won't try to fix them without a command.

How do I get to my hard disk?

Click the folder icon on the Windows 10 taskbar. Click the arrow to the left of Quick Access. Click the external hard drive name to access it. For some users, you may need to press This PC from the menu that appears, and then follow that up with double-clicking the external hard drive.


2 Answers

I would use "systeminfo", that's what I would use to find most things about my computer

like image 117
Sean Avatar answered Oct 01 '22 09:10

Sean


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.

like image 22
Nik Bougalis Avatar answered Oct 01 '22 09:10

Nik Bougalis