![Novell ZENWORKS PATCH MANAGEMENT 6.4 SP2 - SERVER Скачать руководство пользователя страница 161](http://html1.mh-extra.com/html/novell/zenworks-patch-management-6-4-sp2-server/zenworks-patch-management-6-4-sp2-server_user-manual_1711622161.webp)
U
SING
D
EVICES
AND
I
NVENTORY
- 145 -
Example XML (This example will return the value of the defined environment variable):
<item name=”Environment Example” Class=”User Defined” type
=”Environment”>%PROCESSOR_ARCHITECTURE%</item>
Returns:
“Environment Example = i386”
WMI
Windows Management Instrumentation (WMI) allows the user to use scripting to use the
WMI component, and tends to focus on operating system settings.
In the case of a WMI item, two additional attributes,
namespace
and
query
are used. If
the namespace attribute is not specified, the default value of
ROOT\CIMV2
is used. The
query attribute must be defined as a valid WQL query. The string added will be of the form
“name = value”
where
name
is the tag name and
value
is the actual value for the
specified WMI property.
Example XML (This example will return the Serial Number property from the Operating
System):
<item name="Windows SN" type="wmi" query=" SELECT * FROM
Win32_OperatingSystem">SerialNumber</item>
Returns:
“Windows SN = ABCD-EFGH-IJKL”
Example XML (This example will retrieve the Manufacturer property of the device):
<item name="Device Manufacturer" type="wmi" query=" SELECT * FROM
Win32_OperatingSystem">Manufacturer</item>
Returns:
“Device Manufacturer = Computer Manufacturer A”
Text_File
Allows the user to retrieve text data from a file.
The string added will be of the form
“name = value”
where each line of the text file
contains a Name/Value pair separated with a delimiter (defined with the
delimiter
attribute). For each valid line, in the text file, an entry will be added to inventory. When
specifying a file name an environment variable, such as
%WINDIR%
can be used.
Example XML (This example will return the Name/Value pairs from a
TXTSample.txt
file in the Windows directory):
<item name="ti" type="text_file"
delimiter="=">%WINDIR%\TXTSample.txt</item>
Содержание ZENWORKS PATCH MANAGEMENT 6.4 SP2 - SERVER
Страница 1: ...User Guide ZENworks Patch Management 6 4 SP2 ...
Страница 44: ...USING ZENWORKS PATCH MANAGEMENT 28 ...
Страница 138: ...WORKING WITH DEPLOYMENTS 122 ...
Страница 212: ...USING GROUPS 196 ...
Страница 236: ...REPORTING 220 ...
Страница 308: ...CONFIGURING DEFAULT BEHAVIOR 292 ...
Страница 332: ...USING THE AGENT 316 The Agent Control Panel opens Figure 10 19 Agent Control Panel ...
Страница 354: ...SECURING YOUR PATCH MANAGEMENT SERVER 338 ...