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


You’ve already learned just about all the VBScript commands, statements, and functions that you’ll need to write administrative scripts. You’ve learned about some of the built-in scripting objects, and you’ve had a chance to work with the Windows FileSystemObject. Altogether, that’s plenty of information and experience to start writing useful administrative scripts!

In this chapter, you’ll design and write a tool that rotates Internet Information Services (IIS) log files. As you probably know, IIS can create a log file for each website it operates, and ...

Get VBScript, WMI, and ADSI Unleashed: Using VBScript, WMI, and ADSI to Automate Windows® Administration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.