BIBLIO is the largest independent book marketplace in the world, with over 100 million books.

Skip to content

Vbscript, Wmi, and ADSI Unleashed: Using Vbscript, Wmi, and ADSI to Automate
Stock photo: cover may vary

Vbscript, Wmi, and ADSI Unleashed: Using Vbscript, Wmi, and ADSI to Automate Windows Administration Paperback - 2007 - 2nd Edition

by Don Jones

Add to wish list

Reader reviews for Vbscript, Wmi, and ADSI Unleashed: Using Vbscript, Wmi, and ADSI to Automate Windows Administration

From the publisher

If you're a Windows administrator, scripting expertise can liberate you from boring, repetitive work-so you can take on the sophisticated, high-value projects you really want. Top scripting guru Don Jones has written the definitive administrator's guide to getting results with Microsoft's key scripting technologies: VBScript, WMI, and ADSI.

Jones draws on his unsurpassed experience training Windows administrators in conferences, classes, and from his enormously popular site, ScriptingAnswers.com.

You'll learn how to use VBScript, WMI, and ADSI to gain administrative control over nearly every aspect of every recent Windows server or client, including Windows Server 2003, Vista, XP, 2000, and NT. As you gain experience, Jones introduces more advanced techniques, ranging from modular scripting and script encryption to integrating VBScript with HTML code.

Jones concludes with a full section of ready-to-run, real-world examples-from logon/logoff scripts to automated domain and network administration, from querying WMI to creating Active Directory groups. Every script is explained line-by-line, with challenging techniques described in even greater detail.

Detailed information on how to...

  • Decide what you can script: a framework for getting started fast
  • Understand how scripts are designed, assembled, and run
  • Master VBScript from start to finish: functions, I/O, data manipulation, program flow, and much more
  • Use scripting objects for tasks ranging from retrieving network information to mapping drives
  • Utilize FileSystemObject to manipulate the Windows filesystem
  • Write ADSI scripts to manipulate any directory service your company uses, from Active Directory to Novell NDS
  • Modify domain information, users, groups, and policies
  • Query WMI information-from basic to advanced
  • Plan for errors, and test and debug your scripts
  • Build your own "resource kit" of reusable script components

ON THE WEB:

Download all examples and source code presented in this book from ScriptingAnswers.com, where you'll also be able to post follow-up questions directly to the author in a moderated, active community.

Introduction 1

Part I: Introduction to Windows Administrative Scripting 11

Chapter 1: Scripting Concepts and Terminology 13

Chapter 2: Running Scripts 21

Chapter 3: The Components of a Script 39

Chapter 4: Designing a Script 55

Part II: VBScript Tutorial 73

Chapter 5: Functions, Objects, Variables, and More 75

Chapter 6: Input and Output 101

Chapter 7: Manipulating Numbers 115

Chapter 8: Manipulating Strings 129

Chapter 9: Manipulating Other Types of Data 145

Chapter 10: Controlling the Flow of Execution 155

Chapter 11: Built-In Scripting Objects 173

Chapter 12: Working with the File System 193

Chapter 13: Putting It All Together: Creating Your First Script from Scratch 219

Part III: Windows Management Instrumentation and Active Directory Services Interface 245

Chapter 14: Working with ADSI Providers 247

Chapter 15: Manipulating Domains 257

Chapter 16: Manipulating Users and Groups 271

Chapter 17: Understanding WMI 283

Chapter 18: Querying Basic WMI Information 299

Chapter 19: Querying Complex WMI Information 317

Chapter 20: Putting It All Together: Your First WMI/ADSI Script 335

Chapter 21: Testing and Debugging WMI and ADSI Queries 357

Part IV: Advanced Scripting Techniques 371

Chapter 22: Modular Script Programming 373

Chapter 23: Scripts Packaging and Protection 389

Chapter 24: Scripting Security 399

Chapter 25: Introduction to HTML Applications 409

Chapter 26: Debugging Tips, Tools, and Techniques 421

Part V: Ready-to-Run Examples 437

Chapter 27: Logon and Logoff Scripts 439

Chapter 28: Windows and Domain Administration Scripts 455

Chapter 29: Network Administration Scripts 481

Chapter 30: WMI and ADSI Scripts 497

Appendix 509

Index 523

.

Details

  • Title Vbscript, Wmi, and ADSI Unleashed: Using Vbscript, Wmi, and ADSI to Automate Windows Administration
  • Author Don Jones
  • Binding Paperback
  • Edition number 2nd
  • Edition 2
  • Pages 576
  • Volumes 1
  • Language ENG
  • Publisher Sams Publishing
  • Publication date May 24, 2007
  • Illustrated Yes
  • ISBN 9780321501714 / 0321501713
  • Weight 1.99 lbs (0.90 kg)
  • Dimensions 9 x 6.9 x 1.2 in (22.86 x 17.53 x 3.05 cm)
  • Category Computers - Languages / Programming
  • Library of Congress subjects Directory services (Computer network, VBScript (Computer program language)
  • Library of Congress Catalogue Number 2007008741
  • Dewey Decimal Code 005.133

About the author

Don Jones is an internationally recognized scripting guru, speaker, and author. He serves as the Director of Projects and Services for SAPIEN Technologies, where his primary job is to drive the development of new products and services for Windows administrative scripting. Don is the founder of ScriptingAnswers.com, the web's friendliest community for Windows scripting. Don has written more than 30 books on information technology, including Managing Windows with VBScript and WMI (Addison-Wesley; the first edition of this book), Windows Administrator's Automation Toolkit (Microsoft Press), Advanced VBScript for Windows Administrators (Microsoft Press), and Windows PowerShell: TFMTM (SAPIEN Press). Don heads SAPIEN Technologies' Las Vegas office, speaks at a half-dozen technical conferences each year, and contributes monthly content to Microsoft TechNet Magazine.

More Copies for Sale

VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration
Stock photo: cover may vary

VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration

by Jones, Don

  • Used
  • Acceptable
  • Paperback
Condition
Acceptable
Binding
Paperback
ISBN 10 / ISBN 13
9780321501714 / 0321501713
Quantity available
1
Seller
Item price
A$8.42
Free Delivery to USA

Show details

Description:
Sams Publishing, 2007-05-24. paperback. Acceptable. 6x1x9.
Add to wish list
Item price
A$8.42
Free Delivery to USA
Vbscript, Wmi, and ADSI Unleashed: Using Vbscript, Wmi, and ADSI to Automate Windows Administration

Vbscript, Wmi, and ADSI Unleashed: Using Vbscript, Wmi, and ADSI to Automate Windows Administration

by Jones, Don

  • Used
  • Good
  • Paperback
Condition
Good
Binding
Paperback
ISBN 10 / ISBN 13
9780321501714 / 0321501713
Quantity available
1
Seller
Item price
A$9.10
Free Delivery to USA

Show details

Description:
Sams Publishing, 2007. Paperback. Good. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less.Dust jacket quality is not guaranteed.
Add to wish list
Item price
A$9.10
Free Delivery to USA
VBScript, WMI, and ADSI Unleashed : Using VBScript, WMI, and ADSI to Automate Windows Administration

VBScript, WMI, and ADSI Unleashed : Using VBScript, WMI, and ADSI to Automate Windows Administration

by Don Jones

  • Used
  • Very good
  • Paperback
Condition
Very good
Binding
Paperback
ISBN 10 / ISBN 13
9780321501714 / 0321501713
Quantity available
1
Seller
Item price
A$9.10
Free Delivery to USA

Show details

Description:
Pearson Education, 2007. Paperback. Very Good. Disclaimer:May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less.Dust jacket quality is not guaranteed.
Add to wish list
Item price
A$9.10
Free Delivery to USA
VBScript, WMI, and ADSI Unleashed : Using VBScript, WMI, and ADSI to Automate Windows Administration
Stock photo: cover may vary

VBScript, WMI, and ADSI Unleashed : Using VBScript, WMI, and ADSI to Automate Windows Administration

by Jones, Don

  • Used
Condition
Used
ISBN 10 / ISBN 13
9780321501714 / 0321501713
Quantity available
1
Seller
Item price
A$10.07
A$9.93 Delivery to USA

Show details

Description:
Pearson Education. Used - Good. Former library copy. Pages intact with minimal writing/highlighting. The binding may be loose and creased. Dust jackets/supplements are not included. Includes library markings. Stock photo provided. Product includes identifying sticker. Better World Books: Buy Books. Do Good.
Add to wish list
Item price
A$10.07
A$9.93 Delivery to USA
VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration
Stock photo: cover may vary

VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration

by Jones, Don

  • Used
  • Paperback
Condition
Used
Edition
2
Binding
Paperback
ISBN 10 / ISBN 13
9780321501714 / 0321501713
Quantity available
1
Seller
Item price
A$12.85
Free Delivery to USA

Show details

Description:
Sams Publishing, 2007-05-24. 2. paperback. Used: Good. 6.90x1.20x9.00. Buy with confidence. Excellent Customer Service & Return policy.
Add to wish list
Item price
A$12.85
Free Delivery to USA
VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration
Stock photo: cover may vary

VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration

by Jones, Don

  • Used
  • Good
  • Paperback
Condition
Good
Binding
Paperback
ISBN 10 / ISBN 13
9780321501714 / 0321501713
Quantity available
1
Seller
Item price
A$13.16
Free Delivery to USA

Show details

Description:
Sams Publishing. paperback. Good. 6.9x1.2x9.1. Buy with confidence. Excellent Customer Service & Return policy.
Add to wish list
Item price
A$13.16
Free Delivery to USA
VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration
Stock photo: cover may vary

VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration

by Jones, Don

  • Used
  • Good
  • Paperback
Condition
Good
Binding
Paperback
ISBN 10 / ISBN 13
9780321501714 / 0321501713
Quantity available
1
Seller
Item price
A$46.06
Free Delivery to USA

Show details

Description:
paperback. Good. Access codes and supplements are not guaranteed with used items. May be an ex-library book.
Add to wish list
Item price
A$46.06
Free Delivery to USA
VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration
Stock photo: cover may vary

VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration

by Jones, Don

  • New
  • Paperback
Condition
New
Binding
Paperback
ISBN 10 / ISBN 13
9780321501714 / 0321501713
Quantity available
1
Seller
Item price
A$135.38
A$47.74 Delivery to USA

Show details

Description:
Sams, 2007. Paperback. New. 2nd edition. 555 pages. 9.00x7.00x1.25 inches.
Add to wish list
Item price
A$135.38
A$47.74 Delivery to USA
VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration
Stock photo: cover may vary

VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration

by Jones, Don

  • New
  • Paperback
Condition
New
Binding
Paperback
ISBN 10 / ISBN 13
9780321501714 / 0321501713
Quantity available
1
Seller
Item price
A$128.69
A$8.44 Delivery to USA

Show details

Description:
Sams Publishing, 2007-05-24. Paperback. New. New. In shrink wrap. Looks like an interesting title!
Add to wish list
Item price
A$128.69
A$8.44 Delivery to USA