Reputation: 1363
I have a dual boot (Ubuntu and Win7) machine and I need retrieve some hardware info. In this first moment, I'll list the following:
Is there any way to get those information, with same data, from both OS, using native programs (non-downloaded programs)?
PS: I'm developing in Java, so any command line or other libraries are accepted.
Thanks in advance.
Upvotes: 1
Views: 1209
Reputation: 1567
For Windows 7, you can use WMIC and Get-WmiObject in PowerShell to get processor and GPU serials, e.g.,
> Get-WmiObject Win32_Processor
> WMIC PATH Win32_VideoController GET Description,PNPDeviceID
See also this thread.
Upvotes: 1