Windows PowerShell Cookbook
for Windows, Exchange 2007, and MOM V3
Publisher: O'Reilly Media
Final Release Date: October 2007
Pages: 592

This Cookbook by Windows PowerShell team developer Lee Holmes provides hundreds of tested scripts that you can use right away to get Microsoft's new tool working for you. More than 150 recipes, combined with a concise task-based introduction to the Windows PowerShell scripting language and environment, make it the perfect look-up guide when you encounter a thorny problem, or need a quick solution. The ideal companion to any tutorial or reference, this book meets the needs of system administrators at any level.

Microsoft has revolutionized the world of system management and command-line shells with its release of Windows PowerShell, and Lee Holmes gives you practical tools and inside advice that will make you a more productive user and administrator. You will be able to solve everything from automating routine tasks, working with files, event logs and other forms of structured data, to managing the users and resources of complex Windows networks. Each recipe includes a focused piece of code plus discussion of how and why it works, so that you can apply the solution to similar tasks.

You get an array of recipes covering PowerShell fundamentals, common tasks, and administrator tasks, including:

  • Pipelines, variables, objects, looping and flow control, strings and unstructured text, calculations and math

  • Simple files; structured files; Internet-enabled scripts; code reuse; lists, arrays and hashtables; user feedback; error management; environmental awareness; script signing; and more

  • Files and directories, registry manipulation, comparing data, event logs, process cmdlets, service cmdlets, Active Directory, enterprise computer management, and more

Those who administer Microsoft's Exchange 2007 and System Center Operations Manager (formerly MOM) will also benefit from this book, with separate chapters devoted to these servers. All Windows administrators will appreciate the appendices that include a PowerShell language quick reference, and a reference to the .NET, WMI and COM objects that PowerShell scripters will use often.

With working scripts, tutorials, and references all in one volume, Windows PowerShell Cookbook will turbocharge the productivity of any Windows administrator.
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews


by PowerReviews
oreillyWindows PowerShell Cookbook

(based on 3 reviews)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars



Reviewed by 3 customers

Displaying reviews 1-3

Back to top

(0 of 1 customers found this review helpful)


Jump start for Pros

By Harry

from Undisclosed

Comments about oreilly Windows PowerShell Cookbook:

A definitive jump start for IT Pros.

I have background with vbscript, c# and this book helped me NOT to through a powershell tutorial..really a jump start/on the job.

Thanks to the author.

(2 of 3 customers found this review helpful)


Currently a must-have PowerShell book.

By Anonymous

from Undisclosed

Comments about oreilly Windows PowerShell Cookbook:

...worth it for the appendicies alone, this is the definitive reference for PowerShell 1.0. There are a few other good books, but this is the one you'll keep coming back to.

Take a look at the official PowerShell blog...the architect of the language has a "Tower of Power" of all the PowerShell books in the marketplace. Well, he forgot one book in his photo, because it was on his desk...with tons of post-its marking important pages.

That was this book. It's not perfect (i.e. it could be more depth in the real-world Exchange admin examples, but that's a whole 'nother book in itself), but it's pretty great. Even great for an "only" book because going through the examples by hand is the best way to learn the language and environment.

(0 of 1 customers found this review helpful)


PowerShell - one step further down the road

By Rolf

from Undisclosed

Comments about oreilly Windows PowerShell Cookbook:


In the last month I have read many books and articles about PowerShell.

Many have one thing in common. From a certain point on, when it comes down to "how to solve your problems", some of them lack this information.

They are all good books to understand PowerShell, but this one, Lee Holmes Cookbook, gives you this additional piece of information.

The five different parts

Tour, Fundamentals, Common Tasks, Administrator Tasks and the References give the "new to scripting person" as well as the "scripting dinosaur" a collection of information they can use on a daily basis.

Many of the recipes reference or build on top of each other.

It can happen that you pick one special recipe e.g. "Create a Registry Key Value". It is, as usual in PowerShell, a one-liner. But you will not be successful in using this script without the information of the chapter "Navigate the Registry".

One more thing that makes this book different to many others is the very useful last part, the Reference. Much of the basics you need to be more successful with PowerShell are collected here.

Especially for the "I'm not a developer"-fraction of the scripting administrators like me ;-)

Having this book on your shelf or better on your desk is a "must have" for all PowerShell users.

Best regards from the

PowerShell Usergroup Germany/Swiss/Austria

Displaying reviews 1-3

Back to top

Buy 2 Get 1 Free Free Shipping Guarantee
Buying Options
Immediate Access - Go Digital what's this?
Ebook:  $39.99
Formats:  APK, DAISY, ePub, Mobi, PDF