Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
VBScript, WMI, and ADSI Unleashed and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
37 used & new from $27.43

Have one to sell? Sell yours here
 
   
VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration
 
 
Start reading VBScript, WMI, and ADSI Unleashed on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  

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

by Don Jones (Author)
Key Phrases: log rotation tool, associator class, resource match the one, Active Directory, End Function, Windows Server (more...)
3.8 out of 5 stars See all reviews (5 customer reviews)

List Price: $54.99
Price: $34.64 & this item ships for FREE with Super Saver Shipping. Details
You Save: $20.35 (37%)
Upgrade this book for $4.99 more, and you can read, search, and annotate every page online. See details
Usually ships within 1 to 2 weeks.
Ships from and sold by Amazon.com. Gift-wrap available.

29 new from $27.43 8 used from $29.02
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $31.18

Frequently Bought Together

VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration + Advanced VBScript for Microsoft  Windows  Administrators (Pro Other) + Microsoft VBScript: Step by Step
Price For All Three: $97.62

Customers Who Bought This Item Also Bought

Microsoft VBScript: Step by Step

Microsoft VBScript: Step by Step

by Ed Wilson
3.2 out of 5 stars (6)  $31.49
Windows(R) PowerShell Unleashed

Windows(R) PowerShell Unleashed

by Tyson Kopczynski
3.3 out of 5 stars (3)  $34.19
Windows PowerShell in Action

Windows PowerShell in Action

by Bruce Payette
4.4 out of 5 stars (28)  $29.69
Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide (Self Paced Learning Guide)

Microsoft® Windows® Scripting with WMI: Self-Paced Learning Guide (Self Paced Learning Guide)

by Ed Wilson
Microsoft Windows PowerShell Programming for the Absolute Beginner

Microsoft Windows PowerShell Programming for the Absolute Beginner

by Jerry Lee Ford Jr.
4.0 out of 5 stars (13)  $19.79
Explore similar items

Editorial Reviews

Product Description

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

.



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: TFM™ (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.


Product Details

  • Paperback: 576 pages
  • Publisher: Sams; 2 edition (June 3, 2007)
  • Language: English
  • ISBN-10: 0321501713
  • ISBN-13: 978-0321501714
  • Product Dimensions: 9 x 6.9 x 1.3 inches
  • Shipping Weight: 2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars See all reviews (5 customer reviews)
  • Amazon.com Sales Rank: #340,040 in Books (See Bestsellers in Books)

Inside This Book (learn more)


Books on Related Topics (learn more)
 
 

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(2)
(2)
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

 

Customer Reviews

5 Reviews
5 star:
 (2)
4 star:
 (1)
3 star:
 (1)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (5 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
2 of 2 people found the following review helpful:
5.0 out of 5 stars Practical with examples, December 18, 2007
By Ken Tang "kenplaysviola" (Berkeley, CA United States) - See all my reviews
(REAL NAME)   
I found this book to be very helpful and practical with the examples given in the book. The examples have come in useful for me for basic systems administration in my Windows Server 2003 network with Active Directory. The author breaks down the example codes line by line and explains what is going on, which I found to be very helpful.

one thing I did not like was that some times the author purposely put mistakes in the code without initially telling you. Then towards the end of the section, he will ask you why the code did not work and will tell you what went wrong and why. He doesn't do this all the time, but a few times. It made me second guess myself and thought that the publisher had bad typos in the code, something familiarly seen in a lot of programming books. Good learning experience, I suppose.

Even if you are a beginner programmer wanting to learn VBscripting, I think you would be able to get the gist of VBscript by copying the examples in the book and tweaking them for your needs. This is my first VBscript book and it's definitely a keeper for me. Highly recommended!
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
2.0 out of 5 stars Mediocre at Best, April 7, 2009
By M. Duffield (New Jersey) - See all my reviews
(REAL NAME)   
If you have any scripting experience at all, you're better off with a different book. This one is definitely geared more toward the stereotypical minimally competent Windows domain administrator who may or may not be a paper MCSE and who can't be bothered to learn anything outside the specific scope of his job.

The book claims to aim at the VBScript neophyte, but it would help to have at least seen or, better, copy-pasted and modified some scripts before diving into this book. The author constantly uses concepts and language constructs from upcoming chapters before they're covered. This practice is frustrating, but may be justified in the very beginning of the book, while he's covering the VBScript language itself - it's difficult to put together a non-trivial program without using a few different programming concepts. However, he even does this after he's finished with the VBScript introduction; he uses ADSI stuff when he's trying to explain WSH, for example. It can be a little daunting trying to learn one concept when four new ones are being thrown at you.

I also felt, as I see in other reviews here, that the author spends way too much energy trying to sell the reader on his company's scripting IDE. Seriously, I bought a scripting book, not an advertisement. To top it off, it doesn't even sound like his program is any better than Notepad++ (which is free and GPL).

In addition, the author inadvertently helped me to choose JScript over VBScript, even though JScript is not covered in the book. It's obvious from the text and the information I find online that VBScript is a horribly crippled language, and I have a decent amount of experience with Javascript anyway.

In all, I wouldn't say that this is a BAD book, as I did learn enough about WSH, WMI, and ADSI to be able to search for what I really need on Microsoft's reference site, but I don't think I'll be buying another book from this author or Sams Publishing.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
4.0 out of 5 stars Just what the doctor ordered, June 23, 2008
By Kevin Reagan (Telluride, CO) - See all my reviews
(REAL NAME)   
I had originally studied the Microsoft Press book "Microsoft Windows Scripting Self-Paced Learning Guide", but still needed more.

VBScript, WMI and ADSI Unleashed is the book that I wish I had read first. It is a good choice for a system admin who wants to start scripting administrative tasks.

Having never scripted before, I had many questions. This book started from the beginning, what editor should I use for programming, and took me all the way to my first scripted program....to search AD for all Servers at or below a specified OU, remotely attach to each server, determine if it is a physical or virtual computer, run a hardware configuration utility as appropriate, reconfigure the hardware as appropriate based on the utilities output and report back to me the results. I went from nothing to decent in about two weeks.

This is a good choice for this type of book.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars "Congratulations on purchasing this book..now download all the VBScript documentation to learn.."
Hey all,

I was a noob in all of this scripting stuff when I bought this book. Frankly it was not a bad purchase but it did leave me kind of disappointed. Read more
Published 18 months ago by Mario Alfredo Maradiaga Cruz

5.0 out of 5 stars How refreshing!
What a pleasure! This is a book written for technical administrators, by a technical administrator with a knack for writing. Read more
Published 22 months ago by T. A. Johnson

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Up to 50% Off Hot Brands in Skin Care

Skin Care Sale
Get favorite name brands in skin care for face, body, and sun care, now up to 50% off at the skin care sale, only from Amazon Beauty.

Shop all skin care

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 
Shop for Closet Storage Products
Maximize Your SpaceBrowse the Home Improvement Store for home-organization systems to help make your space more usable.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning
The Adventures of Sherlock Holmes
The Adventures of Sherlock Holmes by Arthur Conan, Sir, 1859-1930 Doyle

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates