What is the command(s) helps to get information of the Hard disk & processor in a remote windows machine ?
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.