VBScript, WMI, and ADSI Unleashed and over one million other books are available for Amazon Kindle. Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Good See details
$29.95 & this item ships for FREE with Super Saver Shipping. Details

or
Sign in to turn on 1-Click ordering.
 
   
Sell Back Your Copy
For a $4.48 Gift Card
Trade in
More Buying Choices
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 your Kindle here, or download a FREE Kindle Reading App.

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

Don Jones (Author)
3.8 out of 5 stars  See all reviews (5 customer reviews)

List Price: $54.99
Price: $35.23 & this item ships for FREE with Super Saver Shipping. Details
You Save: $19.76 (36%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 7 left in stock--order soon (more on the way).
Want it delivered Wednesday, February 1? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $27.99  
Paperback $35.23  
Sell Back Your Copy for $4.48
Whether you buy it used on Amazon for $24.11 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $4.48.
Used Price$24.11
Trade-in Price$4.48
Price after
Trade-in
$19.63

Book Description

0321501713 978-0321501714 June 3, 2007 2

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

.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration + Microsoft WSH and VBScript Programming for the Absolute Beginner + VBScript Programmer's Reference
Price For All Three: $80.46

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Microsoft WSH and VBScript Programming for the Absolute Beginner $20.49

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • VBScript Programmer's Reference $24.74

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

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.1 x 7.1 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 Best Sellers Rank: #278,314 in Books (See Top 100 in Books)

More About the Author

Don Jones is the founder of ScriptingAnswers.com and the lead scripting guru at SAPIEN Technologies. He's the author or more than twenty books on information technology, including Managing Windows with VBScript and WMI, Advanced VBScript for Windows Administrators, and Windows PowerShell: TFM. Don has written and spoken extensively about scripting and automation for years, including columns in REDMOND Magazine, MCPMag.com, Microsoft TechNet Magazine, and more, as well as a series of scripting-related Webinars for Microsoft TechNet. Don is a multiple recipient of Microsoft's MVP Award, and one of the industry's strongest advocates for Windows administrative automation.

 

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" (Seattle, WA United States) - See all my reviews
(REAL NAME)   
This review is from: VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration (Paperback)
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!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful:
4.0 out of 5 stars Just what the doctor ordered, June 23, 2008
Amazon Verified Purchase(What's this?)
This review is from: VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration (Paperback)
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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 8 people found the following review helpful:
3.0 out of 5 stars "Congratulations on purchasing this book..now download all the VBScript documentation to learn..", December 24, 2007
By 
M.A.Maradiaga "..the extra mile should be lef... (San Pedro Sula, Honduras, Central America) - See all my reviews
Amazon Verified Purchase(What's this?)
This review is from: VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows Administration (Paperback)
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. The first few chapters are a waste of time because there just like a huge sales ad for the author's company that sells a VBScript IDE, added to that you never get that feeling that he's fully convinced of what he is telling you, i.e. "You should learn VBScript but it doesn't matter because we have the impending doom looming over called Windows Powershell".

Last but not least is the fact related to the title of my review, basically he stresses the point that to learn VBScript you should get the online documentation for it......then what the hell did I buy this book for? If I wanted to learn structured programming I would've bought a C++ book that will do a better job.

All in all, the book has it's good points..I just can't remember them right now 'cause I'm hungry and it's Christmas Day. It does give you the basic knowledge what scripts can do, although if you been a windows admin for a while then this will only confirm to you that there are other ways of doing stuff....and that you need the VBScript online documentation (which by the way was hard to find on Microsoft's website) to do them.

This is the only scripting book I've so sadly I can't give you an alternative to it or compare it against any but if you really are into self-learning I think that a little organization, time and all the documentation available at MS's website might do.

If you have the bucks to spare buy it, if you have time on your hands don't buy and turn over to the Net to learn.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

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



Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
log rotation tool, associator class, resource match the one, use the local path, working with the file system, unauthorized scripts, rotation script, archive path, administrative scripts, mapped printer, second hyphen, alternate credentials, scripting concepts, batch language, map printer, scripting objects, query script, main script, error resume, logon server, logoff scripts, log filename, third octet, archive folder, encoded scripts
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Active Directory, End Function, Windows Server, Windows Management Instrumentation, Select Case, Set Info, Domain Users, False End If Next, Local Area Connection, End If Map, Putting It All Together, Query Wizard, Visual Basic, Continued Set, Internet Explorer, Object Browser, Script Encoder, Enumerating Results, Controlling the Flow of Execution, Group Policy, Windows File Protection, Data Objects, Manipulating Strings, Task Scheduler, Windows Script Components
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:




Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(2)
(2)
(1)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

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


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject