WSH and ADSI Administrative Scripting

Gerry O'Brien

  • 出版商: SAMS
  • 出版日期: 2001-10-26
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 352
  • 裝訂: Paperback
  • ISBN: 0672322501
  • ISBN-13: 9780672322501
  • 已過版

買這商品的人也買了...

相關主題

商品描述

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.

Table of Contents

Introduction.
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.

Enumeration.


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.


Index.