Wednesday 24 December 2014

How To Get System Details...


Some people say command line tools are obsolete, out of date, no longer necessary when you can "point and click," instead. But the reality is very different. Every version of Windows sees the command line given new powers and abilities, and if you don't explore these then you really are missing out.
Take the WMIC command, for instance. It has astonishing scope and a huge set of features: the program can return useful information about your system, control running programs and generally manage just about every aspect of your PC -- all from the command line or a convenient shortcut.
How might this work? Let's suppose you need to know the model of the motherboard used in your PC. You could poke around in a system information program, but it's easier to open a command window (elevated, on Windows Vista or 7 -- click "Start," type "CMD," right-click the link to cmd.exe and select "Run As Administrator") and enter the command:
wmic baseboard get product,manufacturer
wmic bios get name
wmic BIOS get serialnumber
wmic product list brief
wmic service list brief
wmic process list brief
wmic startup list brief
wmic service get /format:hform > d:\services.html
wmic product get name
wmic product where name="mspaint" call uninstall
wmic process where name="iexplore.exe" call terminate
wmic process where name="notepad.exe" call setpriority 64
wmic /node:jetking-pc service list brief



No comments:

Post a Comment