Home > Store

WSH and ADSI Administrative Scripting

WSH and ADSI Administrative Scripting

eBook (Adobe DRM)

  • Your Price: $31.99
  • List Price: $39.99
  • About Adobe DRM eBooks
  • This eBook requires the free Adobe® Digital Editions software.

    Before downloading this DRM-encrypted PDF, be sure to:

    • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
    • Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.

Also available in other formats.

Register your product to gain access to bonus material or receive a coupon.


  • Copyright 2003
  • Pages: 352
  • Edition: 1st
  • eBook (Adobe DRM)
  • ISBN-10: 0-7686-5827-6
  • ISBN-13: 978-0-7686-5827-9

This book will give network administrators the knowledge and tools to develop time-saving scripts that will automate time-consuming tasks. They will also get the inside scoop on the new features found in the newest Script Host version, WSH 5.6. Readers will not find this new material on 5.6 in current WSH books.

Sample Content

Table of Contents

(NOTE: Each chapter concludes with a Summary.)


1. Introduction to Scripting.

What Is Scripting? Scripting Languages in Depth. Various Types of Script Files. Script Host Environments. What Is Windows Script Host?

2. What's New in WSH 5.6?

Grouping Script Switches. Script Self-Documenting. Sharing the Environment. Accessing Standard Streams Programmatically. Spawned Processes in WSH 5.6. Accessing Command-Line named Arguments. WshNamed Objects. Remote Scripting. WshRemote Object. Execute Method. Accessing Active Directory Information with the CurrentDirectory _Property. Scripting Security.

3. Creating Scripts.

Tools for Creating Scripts. Creating Reusable Scripts. Linking Scripts. The WSH Object Model.

4. How to Use Your Scripts.

.wsf File Support. Drag-and-Drop Support in Files. Set Script Properties. Running Script Files from CScript.exe and WScript.exe.

5. Securing Your Scripts.

Accessing the File System with Malicious Code. Accessing Registries with Malicious Code. Scripting with the CryptoAPI Tools. Securing Scripts with Signing. Using Certificates to Sign Scripts. Establishing Trusts Within Scripts.

6. Introduction to ADSI.

The Active Directory Service Interfaces (ADSI).

7. ADSI Architecture.

ADSI Objects. Namespaces. ADSI Providers. ADSI Schema Model. Programming Language Support.

8. Using ADSI.

Binding to ADSI Objects.

9. Accessing Data with ADSI.

ADSI Properties and Attributes. Working with ADSI Objects and Their Properties. Property Cache. Single and Multiple Value Attributes. IADs and IDirectoryObject Interface. Accessing Attributes. Modifying Attributes. Accessing the Property Cache Directly with the IADsProperty _Interfaces. ADSI Attribute Syntax. Collections and Groups.

10. Enumerating ADSI Objects.


11. Searching Active Directory.

Query Scope. Query Depth. Working with Large Resultsets. Searches. Dialects Used for Searching Active Directory. Processing Resultsets.

12. ADSI Security.

Authentication. Access Control. Creating a Security Descriptor Object. Enumerating ACLs on an ADSI Object.

13. WSH and the .NET Framework.

The .NET Common Language Runtime. Languages in .NET.

Appendix A. WSH Reference.

Objects. Properties. Methods. Events. XML Elements.

Appendix B. ADSI Reference.

Data Types. Constants. ADSI Error Codes.



Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership