As a result, WMI lets you do more than WBEM, but the added functionality also makes WMI
considerably more complex. The point is that WMI looks like a hierarchical database of any system
you wish to manage that supports WMI. You can learn more about WMI at http://www.microsoft
.com/whdc/system/pnppwr/wmi/default.mspx.
The Windows Management Interface Command line (WMIC) command is an extremely powerful
command that you??™ll see demonstrated throughout the book. This utility is the command line
interface for WMI. You??™ll probably need to spend some time working with WMIC before you can
make it do everything you want. Because WMI reflects the setup of your machine and not mine, it??™s
impossible to provide detailed particulars of every element of WMIC in this book. However, WMIC
does work well for many common tasks where you know that most machines will have essentially
the same configuration. In fact, you??™ve already seen it used in Chapter 1 to change the computer
name and toggle the Remote Desktop access. The following sections describe WMIC in detail.
Understanding the SQL Syntax of WMIC
The basic use for WMIC isn??™t hard. You have access to a number of global command line arguments,
some aliases for particular parts of the system, and alias-specific command line switches.
Pages:
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176