The ScriptDiscoveryType complex type, in Configuration Manager, is associated with discovering settings by invoking a script.

<xs:complexType name="ScriptDiscoveryType">
	<xs:complexContent>
		<xs:extension
			base="DiscoverySourceType"
		>
			<xs:sequence>
				<xs:element name="ScriptBody"
					type="NonEmptyStringType"
				 />
			</xs:sequence>
			<xs:attribute name="ScriptType"
				type="ScriptType"
				use="required"
						/>
		</xs:extension>
	</xs:complexContent>
</xs:complexType>

Child Elements

Element Type Description

ScriptBody

NonEmptyStringType

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 above.

Attributes

Name Type Description

ScriptType

ScriptType

The language of the script that has been defined inline.

See Also


Send comments about this topic to Microsoft.