Press Room

Press Release: October 24, 2007

Windows Powershell Cookbook--New from O'Reilly Media: Recipes to Get Microsoft's New Tools Cooking For You

Cookbooks provide tried and true recipes for those of us who don't have time to experiment on our own. These cookbooks can range from gourmet meals to comfort foods, from luxurious desserts to home-cooked dinners. However, O'Reilly Media has produced different types of cookbooks over the years; cookbooks that teach programming and scripts to those of us who, like cooks, don't always have the time to experiment and learn on our own. O'Reilly's newest release, Windows PowerShell Cookbook (O'Reilly, $49.99), does just that in this comprehensive reference on Windows Powershell.

This particular 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, Windows PowerShell Cookbook 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, lists, arrays and hashtables, user feedback, error management, environmental awareness, script signing
  • Files and directories, registry manipulation, comparing data, event logs, process cmdlets, service cmdlets, Active Directory, enterprise computer management

Appendixes include a PowerShell language quick reference and a reference to the .NET, WMI, and COM objects that administrators will find most helpful. Those who administer Microsoft's Exchange 2007 and System Center Operations Manager (formerly MOM) will find separate chapters devoted to these servers.

With working scripts, tutorials, and references all in one volume, Windows PowerShell Cookbook will turbocharge the productivity of any Windows administrator.

Lee Holmes is a developer on the Microsoft Windows PowerShell team, and has been an authoritative source of information about PowerShell since its earliest betas. His vast experience with Windows PowerShell lets him integrate both the how and the why into discussions. Lee's integration with the PowerShell and administration community (via newsgroups, mailing lists, and blogs) gives him a great deal of insight into the problems faced by all levels of administrators and PowerShell users alike.

More information about the book, including table of contents, index, author bio, and samples

Windows Powershell Cookbook
Lee Holmes
ISBN: 0596528493, $49.99 US

About O'Reilly

For almost 40 years, O’Reilly Media has provided technology and business training, knowledge, and insight to help companies succeed. Our unique network of experts and innovators share their knowledge and expertise through the company’s Safari training and learning platform and at O’Reilly conferences. As a SaaS learning platform, Safari delivers highly topical and comprehensive technology and business learning solutions to millions of users across enterprise, consumer, and university channels. For more information visit

Return to: O'Reilly Press Room

Press Contacts

Media Relations – Corporate & North America

Fama PR

Media Relations – Japan

Fumi Yamakawa
+81 3-3356-5227

Media Relations – United Kingdom

Helen Codling
+44 (0) 1252 721284