Home > Store

WSH and ADSI Administrative Scripting

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

WSH and ADSI Administrative Scripting


  • Sorry, this book is no longer in print.
Not for Sale


  • Copyright 2002
  • Dimensions: 7-1/4" x 9-1/4"
  • Pages: 352
  • Edition: 1st
  • Book
  • ISBN-10: 0-672-32250-1
  • ISBN-13: 978-0-672-32250-1

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

Online Sample Chapter

Creating Scripts in WSH and ADSI

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