
U
SING
D
EVICES
AND
I
NVENTORY
- 144 -
Guidelines for Microsoft Windows based Operating Systems
The following sections defines the XML guidelines for setting up custom inventory scripts for
Windows based Operating Systems. In each case, the item will be added to the hardware
inventory under the Default device class unless a specific device class (
item class=“”
)
is defined.
Literal
Allows the user to assign an actual text value type into XML.
The string added will be of the form
“name = value”
where
name
is the tag name, and
value
is the literal typed between the open and close tags.
Example XML: (This example will return the string value defined between the open and
close tags)
<item class=”User Defined” name=”Example Name” type =”Literal”>ZENworks
Patch Management 6.4 SP2 Custom Inventory</item>
Returns:
“Example Name = ZENworks Patch Management 6.4 SP2 Custom Inventory”
Registry
Allows the user to retrieve the registry key value.
The string added will be of the form
“name = value”
where
name
is the tag name and
value
is the value stored under the identified registry key.
Example XML (This example will return, from the Registry, the location and name of the
custom inventory file):
<item name="Registry Example"
type="registry">HKEY_LOCAL_MACHINE\Software\PatchLink.com\Discovery
Agent\InventoryInputFile</item>
Returns:
“Registry Example=
<Program Files>\Novell\ZENworks Patch Management Agent
\CustomInventory
.xml”
Environment
Allows the user to return the value of an environment value.
The string added will be of the form
“name = value”
where
name
is the tag name and
value
is the expanded environment variable defined.
Summary of Contents for ZENWORKS PATCH MANAGEMENT 6.4 SP2 - SERVER
Page 1: ...User Guide ZENworks Patch Management 6 4 SP2 ...
Page 44: ...USING ZENWORKS PATCH MANAGEMENT 28 ...
Page 138: ...WORKING WITH DEPLOYMENTS 122 ...
Page 212: ...USING GROUPS 196 ...
Page 236: ...REPORTING 220 ...
Page 308: ...CONFIGURING DEFAULT BEHAVIOR 292 ...
Page 332: ...USING THE AGENT 316 The Agent Control Panel opens Figure 10 19 Agent Control Panel ...