wmic scripts

  • Buffer
  • Buffer

Played around with the wmic command-line tool today

With the WMIC (Windows Management Instrumentation Command-line) command line tool you can access a lot of information about your computer. The command-line tool has been built into Windows since Windows XP. Below you can see a couple of command you can check out to get started with WMIC.
C:\>wmic cpu get name
Returns eg. : Intel(R) Core(TM) i7 CPU         930  @ 2.80GHz

C:\>wmic BIOS get name
Returns eg. : BIOS Date: 03/23/10 15:17:30 Ver: 08.00.15

C:\>wmic cpu get description, maxclockspeed, extclock, manufacturer, revision /format:table > info.txt
Returns a text file named info.txt with CPU information about the PC.

All the above commands have been tested on Windows 7 64 bit

For more information about WMIC see:
http://technet.microsoft.com/en-us/library/bb742610.aspx


Tags: ,
avatar

About Thomas

I am an IT Professional that has this blog as a hobby project in my spare time. I have been in the IT business since 1996 and want to share some of the thing I have picked up over the years with people who visit this blog... Connect with me on: Twitter | Google+ | YouTube Subscribe to my Newsletter