Home > Samples > Update > May 2003
          Back to associated article: Windows Administration Moves Beyond GUI
  A Typical WMIC Session (Illustration)    
   

0503wambg_illo2.jpg (27147 bytes)

Windows Management Command Line (WMIC) makes it easier for administrators to access Windows Management Instrumentation (WMI) for quick administration tasks. For example, WMIC can be used to determine the amount of free space on the C: drive of the computer. WMIC provides two modes of operation. The first (shown in this illustration) is interactive mode, in which the administrator types wmic from a command prompt, and then enters any WMIC command from the WMIC prompt. The second (not shown here) is noninteractive mode, in which WMIC executes a command and then escapes back to the command prompt. This second mode allows WMIC to run inside batch files.