O'Reilly logo

Windows PowerShell™ 2.0 Best Practices by Ed Wilson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 16. Logging Results

Once your scripts are written, deployed, and executed on a system, you need to know whether the scripts ran successfully. The best way to make this determination is to log the results of the scripts. There are many options for logging script results, and we'll look at them in this chapter.

Logging results from scripts is a basic technique. Quite often, you will want to store the results of a script. While there are many options for data storage that range in complexity from writing to a database to creating Web pages, three techniques are used so often that they should be part and parcel of the IT professional's scripting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required