Sunday, August 7, 2016

What is WMIC?

WMIC
What is WMIC?
Windows Management Instrumentation Command-Line

What is WMIC? The Windows Management Instrumentation Command-Line (WMIC) utility provides a command-line interface for WMI. WMIC is compatible with existing shells and utility commands. 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. For more information and guidelines on how to use mic, including additional information on aliases, verbs, switches, and commands, see Using Windows Management Instrumentation Command-line and WMIC - Take Command-line Control over WMI.

How to use WMIC? As depicted below, open cmd window and type wmic. Then write the command that you need; for example:

      useraccount list brief


How to use WMIC!
How to use WMIC!

References:
WMIC - Take Command-line Control over WMI, by Ethan Wilansky
, https://msdn.microsoft.com/
Windows Management Instrumentation >WMI Reference > WMI Command Line Tools, https://msdn.microsoft.com/






No comments:

Post a Comment