I have heard about
wmic. Is it the best choice or there's an easier and more useful command line for such a purpose?
closed as unclear what you're asking by Ramhound, Wesley, CharlieRB, allquixotic, Nifle May 1 '14 at 7:54
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
You can just run
You can spit the results out to a text file using something like
Tested on Windows 7 64-bit, and XP SP3.
XP Note: In XP it's not automatically added to the path so you need to specify it's path when launching:
Another XP Note: Still using XP? Time to upgrade!
More info from Microsoft: How to use System Information (MSINFO32) command-line tool switches
Using WMI at PowerShell prompt (much easier than WMIC, to me anyway):