So what if you needed to find out information about your computer that is otherwise available in third party programs or all over Windows? You can use WMIC to find out a lot of information about your computer. I’ve been using some of these for years but only remembered to blog about it after I saw a post at What’s On My PC (Thanks Rick!) back in 2011.
Here’s a quick list from Microsoft (Use WMIC the alias command)
Here’s how to get your hard drive information –
Go to a command prompt and type:
wmic diskdrive get name,size,model
So how many partitions does it have?
wmic partition get name, size, type
This shows one hard drive and three partitions. (above)
How about BIOS information?
wmic bios get name,serialnumber,version
What service packs, patches and hotfixes were installed and on what date?
wmic qfe get description,installedOn /format:csv
Want to know more information about WMI? Click here to see how WMI is used at over at Microsoft