Script (ScriptInfoType) Element

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The Script (ScriptInfoType) element, in Configuration Manager, is the script definition that will be executed to return instances. Instances are returned, separated by a carriage return (CR) line feed (LF) sequence. Each value that is returned on a single line is considered an instance of an application. Instances are returned by echoing them to the standard output, and these will be captured.

The script itself can contain markup and therefore it is preferable to enclose the script within a CDATA element.

The script language must match that specified in the ScriptType attribute above.

The Script element is defined by the ScriptInfoType complex type.

<xs:element name="Script"
    type="NonEmptyStringType"
 />

See Also

Concepts

ScriptInfoType
ScriptDiscoveryInfo (ApplicationType)
Authoring Desired Configuration Management Configuration Baselines and Configuration Items