Most modern OS developers does mainly indulge or prefer much on designing there GUI ,doesn’t it?But now also users prefer to use command line(Command Prompt/CMD) due to it’s speed and less memory hogs.Whether you are a Linux / Windows user Command line executions are still preferred. Some might take this lightly but analysing the power of Command lines like- Users have much more control of their file system and operating system in a command line interface – you might prefer it.To day we come across a powerful windows command “WMIC”-The Windows Management Instrumentation Command-line (WMIC) is a command-line and scripting interface that simplifies the use of Windows Management Instrumentation (WMI) and systems managed through WMI.Most of the readers might feel does this blogger is taking as to a primary level like advising a student to study these basic command lines .But most experts suggest that normal users does lacks these knowledge of commands like WMIC . Are we right ?
Taking 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.- Some might say i could get all this info by using an exe application / rather a third party program . so why should prefer WMIC – command .Users will get answer to quest if we deeply touch/ know these command.
BIOS info Using WMIC
Launch CMD /Command Prompt – Type the following commands and Enter
- wmic csproduct get name
- wmic csproduct get /FORMAT:LIST
- wmic bios get serialnumber
Obviously these details can be found elsewhere, but one advantage of WMIC is that it can save its output for reference later. Use the command:
wmic service get /format:List > c:\services.html
ie we could append the results and create an specified HTML file .
The program can also provide details on many other aspects of your system. Commands like:
wmic product list brief
wmic service list brief
wmic process list brief
wmic startup list brief
will list your installed software, services, running processes and Windows startup programs, for instance
WMIC isn’t just about reporting on system information, though. Use the appropriate CALL command and it can also carry out a variety of useful maintenance tasks.Do you regularly have to uninstall and reinstall particular programs, for instance? Doing this manually via Control Panel is tedious, but WMIC can automatically uninstall many applications with a single command. To see how, enter:
wmic product get name
— and look for the name of the program you’d like to remove. Then enter the name as it appears in that list, in a second command, like this:
wmic product where name=”windows live writer” call uninstall
— and your specified program will be uninstalled automatically, without you even seeing the uninstall program. (Which is convenient, but also risky as there probably will be no chance to cancel your action, so use this with extreme care.)
Try out WMIC /? to know more or visit Technet Link