Creating Scripts

The following sections provide information about how to create scripts that can be used with the Windows Management Instrumentation (WMI) Provider.

Section Description

How to: Connect to the WMI Service

Describes how you can connect to the WMI service on a local or remote server. You must connect to the server before you can use the WMI Provider.

How to: Create Scripts to Run Management Agents

Describes how you can create a script in the Synchronization Service Manager to run a management agent on a local server. This section also describes how you can modify that script to run on a remote server with the current or alternative credentials.

How to: Enable Security in Scripts

Describes how you can set authentication flags in your script to increase security. The example shows how you can encrypt data sent across a network between a client and the Forefront Identity Manager Synchronization Service (FIM Synchronization Service) Server.

How to: Create an Executable File to Run a Management Agent

Describes how you can create a C# file by using the Synchronization Service Manager that you can compile into a stand-alone program.

How to: Run Scripts

Describes how you can run your scripts by using the CScript script host as the default.

See Also

Concepts

Using the WMI Provider
WMI Provider Overview