For example, you may want to set a
disk quota for a user named John on the C drive of 600,000,000 bytes. In this case, you??™d type
WMIC DiskQuota Where (User="Win32_Account.Domain='MAINXP',Name='John'" And
QuotaVolume="Win32_LogicalDisk.DeviceID='C:'") SET WarningLimit=600000000 and
press Enter. As you can see, the Where clause is complex. The User property includes both a
domain and a name value. The QuotaVolume property must reflect the actual C drive entry,
which includes all of the additional text shown. Once you know how to select the user and drive,
you use the SET verb to change the WarningLimit property as shown. The best way to learn
how to form this particular command is to spend time selecting users and drives first, and then
using what you learn to set the property values.
DMAChannel Provides access to Direct Memory Access channel information on the system.
You??™ll see one entry for each DMA channel. The output of this alias is somewhat useless because
it doesn??™t really tell you anything about DMA channel usage.
Environment Manages environment variable information. This alias provides extensive information
about the environment variables and makes it easy to query them from a remote system.
Pages:
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185