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

Thomas on youtubeThomas on twitterThomas on googleThomas on facebook
avatar
About the author:
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...

>>Subscribe to my Newsletter<<

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

CommentLuv badge
This blog uses premium CommentLuv which allows you to put your keywords with your name if you have had 3 approved comments. Use your real name and then @ your keywords (maximum of 2)