For example, if you want to determine the current startup
delay for your system, you??™d type WMIC ComputerSystem Where Name="%COMPUTERNAME%" GET
SystemStartupDelay and press Enter. In this case, SystemStartupDelay is one of the properties
that the ComputerSystem alias supports.
LIST Obtains all of the details for a particular alias. You can specify how much information to
provide using the Brief and Full settings. For example, if you type WMIC ComputerSystem
LIST Brief and press Enter, WMIC only provides the Domain, Manufacturer, Model, Name,
PrimaryOwnerName, and TotalPhysicalMemory properties as output.
SET Sets the value of a property directly. You must include a Where clause that specifies which
element to change. For example, if you wanted to change the system startup delay (at the boot
manager) to 35 sections, you??™d type WMIC ComputerSystem Where Name="%COMPUTERNAME%"
SET SystemStartupDelay=35 and press Enter. Type WMIC Alias SET /? and press Enter to see
a list of properties you can change. The ComputerSystem alias includes the following writeable
properties.
? AutomaticResetBootOption
? CurrentTimeZone
? EnableDaylightSavingsTime
? Roles
? SystemStartupDelay
? SystemStartupOptions
? SystemStartupSetting
? Workgroup
An Overview of WMIC Aliases
As mentioned in the ???Understanding the SQL Syntax of WMIC??? section of the chapter, much of
your work with WMIC involves using aliases.
Pages:
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180