没有合适的资源?快使用搜索试试~ 我知道了~
首页Advanced VBScript for Microsoft Windows Administrators
Advanced VBScript for Microsoft Windows Administrators
4星 · 超过85%的资源 需积分: 9 164 下载量 174 浏览量
更新于2023-07-22
评论 3
收藏 8.15MB PDF 举报
亚马逊五星图书,无论是系统管理员,程序开发人员或者黑客,掌握VBScript都是必要的。。 此书绝对是VB著作中的必读的经典
资源详情
资源评论
资源推荐
6-2244-2eBookFM.book Page 1 Thursday, December 15, 2005 5:22 PM
PUBLISHED BY
Microsoft Press
A Division of Microsoft Corporation
One Microsoft Way
Redmond, Washington 98052-6399
Copyright © 2006 by Don Jones and Jeffery Hicks
All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by
any means without the written permission of the publisher.
Library of Congress Control Number 2005937886
Printed and bound in the United States of America.
1 2 3 4 5 6 7 8 9 QWT 9 8 7 6 5
Distributed in Canada by H.B. Fenn and Company Ltd.
A CIP catalogue record for this book is available from the British Library.
Microsoft Press books are available through booksellers and distributors worldwide. For further information
about international editions, contact your local Microsoft Corporation office or contact Microsoft Press Inter-
national directly at fax (425) 936-7329. Visit our Web site at www.microsoft.com/mspress. Send comments to
mspinput@microsoft.com.
Microsoft, Active Directory, ActiveX, Excel, FrontPage, JScript, Microsoft Press, MSDN, Tahoma, Verdana,
Visio, Visual Basic, Win32, Windows, the Windows logo, Windows NT, and Windows Server are either
registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
Other product and company names mentioned herein may be the trademarks of their respective owners.
The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and
events depicted herein are fictitious. No association with any real company, organization, product, domain
name, e-mail address, logo, person, place, or event is intended or should be inferred.
This book expresses the author’s views and opinions. The information contained in this book is provided with-
out any express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers,
or distributors will be held liable for any damages caused or alleged to be caused either directly or indirectly
by this book.
Acquisitions Editor: Martin DelRe
Project Editor: Melissa von Tschudi-Sutton
Production: OTSI
Body Part No. X11-89440
6-2244-2eBookFM.book Page ii Thursday, December 15, 2005 5:22 PM
iii
Contents at a Glance
Part I The Basics of Advanced Windows Scripting
1 Getting Started. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
2 Script Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Part II Packaging Your Scripts
3 Windows Script Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
4 Windows Script Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
5 HTML Applications: Scripts with a User Interface. . . . . . . . . . . . . . . . . 125
Part III The Basics of Advanced Windows Scripting
6 Remote Scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
7 Database Scripting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
8 Advanced ADSI and LDAP Scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
9 Using ADO and ADSI Together . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
10 Advanced WMI Scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
11 WMI Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
12 Better Scripting with WMI Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319
13 Advanced Scripting in Windows XP and Windows Server 2003. . . . . 353
Part IV Scripting for the Enterprise
14 Group Policy Management Scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
15 Exchange 2003 Scripting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425
16 Microsoft Operations Manager 2005 Scripting. . . . . . . . . . . . . . . . . . . 463
17 Virtual Server 2005 Scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Part V Appendix
Advanced Script Editor Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
6-2244-2eBookFM.book Page iii Thursday, December 15, 2005 5:22 PM
iv Table of Contents
6-2244-2eBookFM.book Page iv Thursday, December 15, 2005 5:22 PM
v
Table of Contents
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xv
Part I
The Basics of Advanced Windows Scripting
1 Getting Started. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
Prerequisite Knowledge. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Understanding Windows Script Host Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Using the FileSystemObject Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Understanding Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Understanding Active Directory Services Interface Fundamentals . . . . . . . . . 24
Understanding Windows Management Instrumentation Fundamentals . . . . 29
Advanced Scripting Goals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Securing Your Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Creating Your Own Script Components and Libraries . . . . . . . . . . . . . . . . . . . . 34
Running Scripts Remotely . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Retrieving Information from Active Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Manipulating Information Stored in a Database. . . . . . . . . . . . . . . . . . . . . . . . . 35
Managing Your Windows Environment with WMI Events . . . . . . . . . . . . . . . . . 35
Using New WMI Classes with Windows XP and Windows Server 2003 . . . . . 35
Managing Group Policy Objects with Scripting. . . . . . . . . . . . . . . . . . . . . . . . . . 35
Managing Your Exchange 2003 Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Incorporating Your Scripts into Microsoft Operations Manager . . . . . . . . . . . 36
Creating a Visual Interface for Your Script with Internet Explorer and . . . . . . 36
HTML Applications (HTAs)
What We Won’t Cover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Finding Information about JScript, Perl, Python, and KiXtart . . . . . . . . . . . . . . 37
The Right Tool for the Job. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Scripting Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
2 Script Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Script Encoding and Decoding. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6-2244-2eBookFM.book Page v Thursday, December 15, 2005 5:22 PM
剩余555页未读,继续阅读
bingbingcha
- 粉丝: 50
- 资源: 24
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论3