Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 574 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
574
Dung lượng
5,44 MB
Nội dung
[...]... the complexity and flexibility of WMIandADSI This chapter provides you with several ready -to- use scripts for common tasks, such as querying WMI, creating users and groups, and more These scripts can be easily modified and incorporated into your own scripts, saving you scripting time! VBScript,WMI,andADSIUnleashed 8 Appendix Appendix: Administrator’s Quick Script Reference One of the toughest parts... sort of electronic glue to combine various operating system functions 2 VBScript,WMI,andADSIUnleashed It’s been four years since the original edition of this book, published as Managing Windows with VBScript andWMI At the time, Windows administrators were really just discovering scripting and its potential toautomate administrative tasks; since then, scripting and automation have taken off in... Instrumentation and other advanced topics, and with more coverage of VBScript security issues and resolutions I’m not out to turn you into a programmer In fact, one of the real successes of VBScript is that you don’t need to be a programmer to use it Most of what you’ll be doing in this book involves using VBScript to tell Windowsto do things for you; you’ll be able to ignore much of VBScript’s complexity, using. .. built-in component of Windows 2000, Windows XP, Windows Server 2003, Windows Vista, and later versions of Windows In fact, it’s under Windows File Protection for those operating systems, meaning you can’t delete or remove the WSH executable, Wscript.exe WSH is also included with Windows Me, is an optional installation component in Windows 98, and can be added toWindows NT 4.0 andWindows 95 through a... to work on this lengthy revision Thanks also to my ferrets, Pepper, Patch, and Nutmeg, who were wonderfully understanding—not—when “daddy” couldn’t play right then because he was typing And thanks, perhaps most of all, to Microsoft, for realizing at long last how important VBScript is to the community of Windows administrators, for deciding to continue to include it in future versions of Windows, and. .. III: Windows Management Instrumentation and Active Directory Services Interface With the glue of VBScript under your belt, this part dives into the two most powerful technologies for administering Windows: Windows Management Instrumentation (WMI) and the Active Directory Services Interface (ADSI) These technologies provide administrative access to, and control over, nearly every aspect of the Windows. .. operating system, from Windows NT toWindows Server 2003 Chapter 14: Working with ADSI Providers Despite its name, ADSI isn’t just for Active Directory This chapter shows you how ADSI can be used to interface with NT, Active Directory, Novell NDS, Exchange Server, and other types of directory services This chapter provides some basic examples of the types of tasks you can perform with ADSIto get you started... of these technologies, and then you’ll be ready to start writing your own scripts Chapter 21: Testing and Debugging WMIandADSI Queries Getting the perfect WMI or ADSI query is critical to the success of your scripts, so this chapter focuses on tools you can use to develop those queries more interactively, test your queries, and have them fully refined before pasting them into your scripts Part IV:... you rip them apart and customize them for your own use Chapter 29: Network Administration Scripts Network administration is ideally suited for scripting, and this chapter provides a handful of examples that show you what’s possible The line-by-line explanations make it easy to put these into use in your own environment Chapter 30: WMIandADSI Scripts These can be the toughest scripts to write because... Microsoft’s earliest operating system, MS-DOS VBScript was intended to be easy to learn, powerful, and flexible The language was included as an add-on toWindows 95 andWindows NT 4.0, was an optional installation component included in Windows 98, and was included in all editions of Windows Me, Windows 2000, Windows XP, andWindows Server 2003 Software developers immediately seized upon VBScript for . UNLEASHED 800 East 96th Street, Indianapolis, Indiana 46240 USA Don Jones VBScript, WMI, and ADSI Using VBScript, WMI, and ADSI to Automate Windows ® Administration VBScript, WMI, and ADSI Unleashed Copyright. Congress Cataloging-in-Publication Data: Jones, Don, 1971- VBScript, WMI and ADSI unleashed : using VBSscript, WMI, and ADSI to automate Windows administration / Don Jones. — 1st ed. p. cm. ISBN 0-321-50171-3. Capabilities 286 WQL Queries 289 Installing WMI 290 VBScript, WMI, and ADSI Unleashed x Using the WMI Tools 291 Scriptomatic 292 The Easy Way to Write WMI Scripts 293 Find the Class 293 Write the