Windows Automation Methods

There are a number of ways you can automate performing tasks in Windows Server 2003 including a powerful command prompt, batch files that automatically process a list of commands, and scripts. Perl aficionados can also write Perl programs to administer Windows systems.

The following sections discuss these methods, and the level of operating system support for each. But first, this next section helps you make sense of the acronym soup of scripting interfaces—WSH, WMI, and ADSI.

WSH, WMI, and ADSI Background

Microsoft provides several technologies you can use together to provide a comprehensive scripting solution for Windows-based clients and servers. These technologies are WSH, WMI, and ADSI.

Windows Script Host (WSH) ...

Get Microsoft® Windows Server 2003: Administrator’s Companion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.