Remote/Multiple Computer Scripting Templates

Using the Scripting TemplatesUsing the Scripting Templates

The scripting templates provide a framework for developing scripts that run against one or more remote computers. In many cases, you can take a script designed to run against a single computer (such as the scripts found in the Script Center Repository) and – by copying code from that script and pasting it into the template – quickly and easily create a script that runs against, say, all the computers whose names are listed in a text file. You can browse the template categories below and/or click the above link for more information on how to use the templates.


ADSI Scripting Templates

Basic Command-Line ScriptsBasic Command-Line Scripts

These command-line scripts run under the same user credentials you used to logon to your computer; they do not prompt you for a user name and password.

OpenDSObject Command-Line ScriptsOpenDSObject Command-Line Scripts

These command-line scripts run under alternate security credentials; you will be prompted to enter a user name and password each time you run one of these scripts.

Basic GUI ScriptsBasic GUI Scripts

These GUI interface scripts run under the same user credentials you used to logon to your computer; they do not prompt you for a user name and password.

OpenDSObject GUI ScriptsOpenDSObject GUI Scripts

These GUI interface scripts run under alternate security credentials; you will be prompted to enter a user name and password each time you run one of these scripts.

WMI Scripting Templates

Basic Command-Line Scripting TemplatesBasic Command-Line Scripting Templates

These command-line scripts run under the same user credentials you used to logon to your computer; they do not prompt you for a user name and password.

ConnectServer Command-Line Scripting TemplatesConnectServer Command-Line Scripting Templates

These command-line scripts run under alternate security credentials; you will be prompted to enter a user name and password each time you run one of these scripts.

Basic GUI Scripting TemplatesBasic GUI Scripting Templates

These GUI interface scripts run under the same user credentials you used to logon to your computer; they do not prompt you for a user name and password.

ConnectServer GUI Scripting TemplatesConnectServer GUI Scripting Templates

These GUI interface scripts run under alternate security credentials; you will be prompted to enter a user name and password each time you run one of these scripts.

Top of pageTop of page