Scripting Provider

The Scripting Provider namespace runs scripts on the local computer where the provisioning request is executed. For example, a script might parse output from one provider and pass the extracted text to another provider.

In addition to executing individual scripts, the Scripting Provider namespace can aggregate actions of providers or scripts. This functionality is useful for prototyping custom providers.

The Scripting Provider namespace supports the use of VBScript, JScript® and other OLE engines that are built into Microsoft Windows 2000 Service Pack 2 and later. You can specify the script either as inline code or by way of the path to where the script is stored.

The Scripting Provider namespace implements the following procedures.

Procedure Description
ExecuteScript Executes a script that does not require rollback.
ExecuteScriptWithRollback Executes a script that requires rollback.

The Microsoft Provisioning Framework Software Development Kit (SDK) contains additional resources to help you implement the Scripting Provider namespace. For more information on the SDK and how to use it, see Microsoft Provisioning Framework SDK.