Using VBScript, WMI, and ADSI to Automate Windows® Administration
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.
Don Jones has written dozens and dozens of books and ebooks on information technology topics, and is perhaps most well-known in that space for his "Month of Lunches" series, published by Manning. Don's recently branched out into topics like business management, instructional design, and self-improvement/motivational, along with launching books in science fiction and fantasy. Don lives in Downtown Las Vegas, Nevada, is a huge fan of Disney Parks, and loves Figment best of all.
Could not go all the way through with this book. The author's constant suggestion to go try Powershell instead convinced me of it. Left the book and went to read on about Powershell.