This is straight from the Microsoft Technet July 2005 CD set. I’ve not seen it elsewhere, and since I’ve found it so useful, I’m going to repost it here. WMIC is the command line interface to WMI. Using the WMIC alias makes it easier to return computer information, all from a command line.
The following table contains example text of common queries using WMIC Aliases. To run one of the queries, cut the entire contents of a cell in the Example Text column, paste at the WMIC command prompt, edit the variables as appropriate, and press the ENTER key.