Acknowledgements
Introduction
Part Ⅰ The Basics of Advanced Windows Scripting
1 Getting Started
Prerequisite Knowledge
Understanding Windows Script Host Basics
Using the FileSystemObject Library
Understanding Arrays
Understanding Active Directory Services Interface Fundamentals
Understanding Windows Management Instrumentation Fundamentals.
Advanced Scripting Goals
Securing Your Scripts
Creating Your Own Script Components and Libraries
Running Scripts Remotely
Retrieving Information from Active Directory
Manipulating Information Stored in a Database
Managing Your Windows Environment with WMI Events
Using New WMI Classes with Windows XP and Windows Server 2003
Managing Group Policy Objects with Scripting
Managing Your Exchange 2003 Environment
Incorporating Your Scripts into Microsoft Operations Manager
Creating a Visual Interface for Your Script with Internet Explorer and
HTML Applications (HTAs)
What We Won't Cover
Finding Information about JScript, Perl, Python, and KiXtart
The Right Tool for the Job
Scripting Techniques
Summary
2 Script Security
Script Encoding and Decoding
Script Signing and the Windows Script Host TrustPolicy
Understanding Digital Certificates and Script Signing ..
Understanding WSH TrustPolicy
Configuring WSH TrustPolicy in Your Environment
Signing Scripts by Using a Digital Certificate
Using Software Restriction Policies
Alternate Credentials
Using the RunAs Command
Using Scheduled Tasks Credentials
Using ADSl Alternate Credentials
Using WMI Alternate Credentials
Summary
Part Ⅱ Packaging Your Scripts
3 Windows Script Files
Defining Windows Script Files
Understanding XML
The package Tag
The comment Tag
The job Tag
The runtime Tag
The description Tag
The example Tag
The named Tag
The object Tag
The script Tag
Creating Script Jobs
Including Other Scripts
Adding Resources
Creating Examples and Help Text
Using Named Parameters
The name Property
The helpstring Property
The type Property
The required Property
Viewing a Windows Script File in Action
……
Part Ⅲ The Basics of Advanced Windows Scripting
Part Ⅳ Scripting for the Enterprise
Part Ⅴ Appendix