What is windows management instrumentation command-line (wmic) tool

What is windows management instrumentation command-line (wmic) tool 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. Windows management instrumentation command-line (wmic) tool uses the Common Information Model (CIM), to represent various components of the operating system.

For wmic command are used to display serial number of computers. WMIC is based on aliases. Aliases make the primary data provided by WMI available without having to understand WMI-specific concepts. WMI data and many WMI features are also accessible through WMI without aliases. What is windows management instrumentation command-line (wmic) tool

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. Windows management instrumentation command-line (wmic) tool uses the Common Information Model (CIM), to represent various components of the operating system. For wmic command are used to display serial number of computers.

WMIC is based on aliases. Aliases make the primary data provided by WMI available without having to understand WMI-specific concepts. WMI data and many WMI features are also accessible through WMI without aliases.

You can list the available aliases by using WMIC /? help. WMIC has a progressive help system. You can use /? at any time and at any depth to discover the additional options that are available in the current context. /? lists the currently available aliases, commands, and the global switches (that is, switches that apply to WMIC overall). To list the verbs and switches available for an alias, type the name of the alias and /?. To list the parameters available for a particular verb, type the name of the alias, the verb, and then /?.

For example,

To view all of the processes that are currently running on the computer,

Run command prompt from your windows

Type

WMIC

to access WMIC utility and press enter key , Type again

PROCESS

To list a specific process

Type

PROCESS where

in the WMIC utility.

To receive specific properties for the processes,

type a command

PROCESS GET Name, Handle, PageFaults.

You can use the same options with the CLASS command. For example, CLASS Win32_Process GET Name, Handle, PageFaults. And, you must determine the name of the class from other sources. To do the equivalent of the alias Where clause, you must use PATH Win32_Process.Description=\”explorer.exe\”.

Leave a Reply

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