The ScriptBody (ScriptDiscoveryType) 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. 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.

The ScriptBody element is defined by the ScriptDiscoveryType complex type.

<xs:element name="ScriptBody"

See Also

Send comments about this topic to Microsoft.