Print Page | Close Window

WMIC

Printed From: One Stop Testing
Category: Quality Assurance @ OneStopTesting
Forum Name: Software Process Improvement
Forum Discription: It includes lots of process oriented things like requirements engineering, risk management, software peer reviews, project management, metrics, and process assessment etc.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=380
Printed Date: 15Dec2024 at 11:55pm


Topic: WMIC
Posted By: vidhya
Subject: WMIC
Date Posted: 29Mar2007 at 2:22am
WMIC - Take Command-line Control over WMI Cool!

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 http://www.homeoftester.com/viewtopic.php?t=7 - WMI .

WMIC extends WMI for operation from several command-line interfaces and through batch scripts. Before WMIC, you used WMI-based applications (such as SMS), the WMI Scripting API, or tools such as CIM Studio to manage WMI-enabled computers. Without a firm grasp on a programming language such as C++ or a scripting language such as VBScript and a basic understanding of the WMI namespace, do-it-yourself systems management with WMI was difficult. WMIC changes this situation by giving you a powerful, user-friendly interface to the WMI namespace.

What can WMIC do?


Too many ...

The WMI command-line (WMIC) provides you a simple command-line interface to Windows Management Instrumentation (WMI). WMIC provides a simple interface to WMI so you can take advantage of WMI to manage computers running Microsoft Windows. WMIC interoperates with existing shells and utility commands, and can be easily extended by scripts or other administration-oriented applications.
WMIC allows you to:
• Browse the WMI schemas and query their classes and instances, usually using "aliases" that make WMI more intuitive.
• Work with the local computer, remote computers, or multiple computers in a single command.
• Customize aliases and output formats to suit your needs.
• Create and execute scripts based on WMIC.
WMI Providers are available to allow WMI to manage a wide variety of hardware components, operating system subsystems, and application systems. WMIC can be used with all the schemas implemented by those WMI Providers.
WMIC can be used from any computer with WMIC enabled to remotely manage any computer with WMI. WMIC does not have to be available on the remotely managed computer in order for WMIC to manage it.
Scenarios
You can use WMIC to ease tasks in the following typical scenarios:
• Local management of a computer--you are at the computer and use the WMIC command to manage it.
• Remote management of a computer--you are at one computer and use WMIC to manage another computer.
• Remote management of multiple computers--you are at on one computer and use WMIC to manage multiple computers with a single command.
• Remote management of a computer (using a remote session)--you use a remote sessioning technology (such as Telnet or Terminal Services) to connect to a remote computer and manage it with WMIC.
• Automated management using administrative scripting--you use WMIC to write a simple management script to automate the management of a computer (local, remote, or multiple computers--serially or simultaneously).




-------------
MBA Examination papers



Print Page | Close Window