Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have heard about wmic. Is it the best choice or there's an easier and more useful command line for such a purpose?

share|improve this question

closed as unclear what you're asking by Ramhound, Wesley, CharlieRB, allquixotic, Nifle May 1 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.

    
meta-info pastebin.com/raw.php?i=756cvwxf –  barlop Apr 24 at 16:18
    
You asked for commands. techie actually gave you commands, and complex powershell commands that one has to be reasonably well informed to know. Any tom dick or harry could have said msinfo32 If that was what you were looking for then it's a bit of a waste of a question. –  barlop Apr 24 at 19:45

2 Answers 2

up vote 5 down vote accepted

You can just run msinfo32.

You can spit the results out to a text file using something like /report c:\PathToSaveReportTo\ReportFile.txt as an argument.

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:
"C:\Program Files\Common Files\Microsoft Shared\MSInfo\msinfo32.exe"

Another XP Note: Still using XP? Time to upgrade!

More info from Microsoft: How to use System Information (MSINFO32) command-line tool switches

share|improve this answer
1  
err, WMIC might show other things so no need to "just" run that. you can do both. And does msinfo even exist? it looks like it's only msinfo32 where did you get msinfo from? –  barlop Apr 24 at 13:52
    
"about the operating system installed and the computer architecture, such as CPU architecture or about the memory" ← msinfo covers OP's requirements. From memory, some systems only have msinfo. –  MikeyB Apr 24 at 14:35
1  
in my case msinfo is not recognized –  Broly Apr 24 at 14:41
    
-1 Tested on w7 32bit w7 64bit and win xp, it Does Not Exist. You should state what OS that command exists on, you probably imagined it. –  barlop Apr 24 at 14:41
    
wrong again(or not very right). That directory is not in the PATH of the XP machine I just checked, but msinfo32 still ran like start..run..msinfo32. Because it is mentioned in the registry location that works like PATH9though only for start..run, while PATH works for start..run or cmd). see this pic of the registry i.imgur.com/I06Nulq.png most people launching it would launch it from start..run and not have bothered adding it to the path. though no harm in adding it to the path –  barlop Apr 24 at 15:50

Couple suggestions/examples:

At command-line:

Systeminfo

Using WMI at PowerShell prompt (much easier than WMIC, to me anyway):

  • get-wmiobject Win32_Processor
  • get-wmiobject Win32_PhysicalMemory
  • get-wmiobject Win32_DiskPartition
  • get-wmiobject Win32_LogicalDiskToPartition

Etc.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.