CertCities.com -- The Ultimate Site for Certified IT Professionals
Free CertCities.com Newsletter via E-mail
  Microsoft®
  Cisco®
  Security
  Oracle®
  A+/Network+"
  Linux/Unix
  More Certs
  Newsletters
  Salary Surveys
  Forums
  News
  Exam Reviews
  Tips
  Columns
  Features
  PopQuiz
  RSS Feeds
  Industry Releases
  Contributors
  About Us
  Search
 

Advanced Search
  Free Newsletter
  Sign-up for the #1 Weekly IT
Certification News
and Advice.
Subscribe to CertCities.com Free Weekly E-mail Newsletter
CertCities.com

See What's New on Redmondmag.com!
" Cover Story: Q & A with Microsoft's Jeff Raikes
" Real-World GPMC Troubleshooting
" The 10 Essential Rules of Patch Management
" Beta Man: Windows Server 2003 SP1
" Product Review: Microsoft Operations Manager 2005

CertCities.com
Let us know what you
think! E-mail us at:



-- advertisement --
Traveling to a
Tradeshow or Event?
Salzburg Hotels
Columbia Hotels
Motherwell Hotels
Marathon FL Hotels
Seefeld Tirol Hotels
Destin Hotels
Askersund Hotels
Naples Hotels
Corse Hotels
Reykjavik Hotels

 
 
...Home ... Editorial ... Reviews ..Book Review Article Thursday: February 24, 2005

The New TechMentor Register Early and Save!
  • 6 New Tracks
  • Exam Discounts
  • Year-End Savings
Register by
March 4th
and save $200 off
the new TechMentor!




ADSI Scripting for Pros
System administrators can save time and effort with scripting. Here's the guide to show you how.

by Hinne Hettema

5/15/2001 --
Book Review

CCDA

Title  Windows NT / 2000 ADSI Scripting for System Administration
Authors Thomas Eck
Publisher New Riders
Publication Date March 2000
ISBN 1-57870-219-4
Price $45 (U.S.)
Pros Very detailed and comprehensive.
Cons Based on VB rather than VBScript 11.
Verdict Get this book -- it's a superb tool for system administrators.
The first, somewhat cheeky title I had in mind for this review was "Windows with the power of Linux," but I decided that would not look so good in large print. It's true, however, that the ability to fully script installation and system administration has been missing from the Windows operating system for a relatively long time. The release of the Windows Scripting Host and Active Directory Services Interface a few years ago has really changed that. As a result, there is a growing interest in scripting from NT and 2000 administrators. Those administrators would do well to get a copy of this book. It contains every scripting trick I was aware of, and then some.

If you're unsure of what scripting is all about, here's a one paragraph introduction (O.K., a long paragraph). Consider this scenario: Every day you, the system administrator, have around 20 users calling, asking you to reset their passwords. You decide to use a simple password for this task, such as "pwddmm," where "dd" and "mm" stand for the day of the month and the month, respectively. You also tick the "User must reset password at next logon" box at each reset to force the user to change their password upon the next logon. Doing this with the GUI for 20 users a day can become boring and time consuming. Wouldn't it be great if you had a utility to do this automatically? You could then type something like "user_reset username" and the utility would handle the rest. "User_reset" would then normally refer to a script: a set of commands written in a scripting language. This simplifies the task, takes care of things you might otherwise forget and implements all standards as you want them.

From this example, it's easy to see the power of scripting. A script will allow you to implement a workflow (always tick the "reset" box after resetting a password), adhere to corporate standards (such as pwddmm for password resets), and save time and effort on administration.

Thomas Eck's "Windows NT/2000 ADSI Scripting for System Administration" shows you how to do most of this and more. The book contains a large number of code samples for almost every administration task imaginable. This includes normal user and account management, computer management (especially services and print queues), management of IIS and, of course, Active Directory.

This volume shows you, in detail, how to use the WinNT://, IIS:// and LDAP:// ADSI service providers, invoke their methods and get useful results back. The book steps beyond mere scripting in that it primarily shows you how to develop COM objects that you could access from ASP, for instance, to build your own system administration console. Using the code samples in this book, you'll be able to manage users, groups, services, print queues, the IIS Web server and Active Directory.

All the examples in the book are written in "pure" VB rather than the easier-to-use VBScript. Maybe not your preference, but the advantage of this is that VB is strongly typed, and thus exposes the datatypes of ADSI. VBScript uses the variant data type as a default, which, as Thomas Eck remarks, "robs you of a solid understanding of the datatypes used with ADSI."

On the back cover states that this text is suitable for the advanced user. Unlike some other books that make this claim, this book means it. I would heed that remark -- this book is definitely not for the beginner. Fortunately, it includes a large list of further resources in one of its appendices where you can find further material to help you.

You can download the code samples of the book at http://www.newriders.com/adsi. This site is worth a look anyway, even if only to determine for yourself whether you'll be able to benefit from this book right now, or should start at the intermediate rather than advanced level of this topic. Once you have worked through that intermediate level, though, I'd recommend you get this one to take you that step further.

Have you read this book? Let us know what you think! Rate it below or enter our Forums.


Hinne Hettema works for a large computing outsourcing firm in Auckland, New Zealand, specialising in the area of Application Service Providers. He is Microsoft (MCSE NT4 and W2K), Citrix (CCA) and Cisco (CCNP) certified and has a PhD in computational chemistry and an MA in philosophy. He lives in a 1930s villa on the edge of the Manukau harbour with his wife, daughter and three cats, as well as numerous computers. He is also the editor of 'Quantum Chemistry: Classic Scientific Papers' (World Scientific, Singapore 2000). He can be reached at and likes to receive email.
More articles by Hinne Hettema:


Current CertCities.com user Comments for “ADSI Scripting for Pros

There are no comments yet. Post one now.

There no comments at this time. Add one now.

Book Rating Key
five stars - true gurus only excellent
four stars - very difficult very good
three stars - difficult, but manageable good
two stars - somewhat challeging fair
one star - cakewalk poor
Your comment about: “ADSI Scripting for Pros”
Name: (optional)
Location: (optional)
E-mail Address: (optional)
Comment:
   
top

Sponsored Links:
Free Microsoft MCSE Exam Prep Bundle: from ExamForce
Cert Tracks MCDST, MCSA, MCSE: Only at TechMentor: April 4-8
Free Authorized Cisco eLearning: from Global Knowledge
IT certification news delivered weekly: Subscribe Today!



Home | Microsoft® | Cisco® | Oracle® | A+/Network+" | Linux/Unix | MOS | Security | List of Certs
Advertise | Contact Us | Contributors | Features | Forums | News | Pop Quiz | Tips | Industry Releases | RSS Feeds RSS Feeds from CertCities.com
Search | Site Map | ENTmag.com | MCPmag.com | TCPmag.com | TechMentor Conferences | 101communications | Privacy Policy
This Web site is not sponsored by, endorsed by or affiliated with Cisco Systems, Inc., Microsoft Corp., Oracle Corp., The Computing Technology Industry Association, Linus Torvolds, or any other certification or technology vendor. Cisco® and Cisco Systems® are registered trademarks of Cisco Systems, Inc. Microsoft, Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corp. Oracle® is a registered trademark of Oracle Corp. A+®, i-Net+T, Network+T, and Server+T are trademarks and registered trademarks of The Computing Technology Industry Association. (CompTIA). LinuxT is a registered trademark of Linus Torvalds. All other trademarks belong to their respective owners.
Reprints allowed with written permission from the publisher. For more information, e-mail
Application Development Trends | Campus Technology | CertCities.com | The Data Warehousing Institute | E-Gov | ENT News
Enterprise Systems | Federal Computer Week | IT Compliance Institute | JavaSPEKTRUM | MCP TechMentor Conferences
MCPmag.com | OBJEKTspektrum | Recharger | Redmond magazine | SIGS-DATACOM | TCPmag.com
Copyright 1996-2005 101communications. See our Privacy Policy.
101communications