Windows PowerShell in Action you own this product

Bruce Payette
Foreword by James Truher
  • February 2007
  • ISBN 9781932394900
  • 576 pages

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!


5, 10 or 20 seats+ for your team - learn more

Second edition of this book is available

Windows PowerShell in Action was written by Bruce Payette, one of the founding members of the Windows PowerShell team, co-designer of the PowerShell language and the principal author of the PowerShell language implementation. From him you will gain a deep understanding of the language and how best to use it, and you'll love his insights into why PowerShell works the way it does.

about the technology

Windows has an easy-to-use interface, but if you want to automate it, life can get hard. That is, unless you use PowerShell, an elegant new dynamic language from Microsoft designed as an all-purpose Windows scripting tool. PowerShell lets you script administrative tasks and control Windows from the command line. Because it was specifically developed for Windows, programmers and power-users can now do things in a shell that previously required VB, VBScript, or C#.

about the book

This book is a tutorial for sysadmins and developers introducing the PowerShell language and its environment. It shows you how to build scripts and utilities to automate system tasks or create powerful system management tools to handle the day-to-day tasks that drive a Windows administrator's life. It's rich in interesting examples that will spark your imagination. The book covers batch scripting and string processing, COM, WMI, and even .NET and WinForms programming.

what's inside

  • Master the PowerShell language
  • Secure scripting with PowerShell
  • How to process strings, files, and XML
  • Techniques for network and GUI programming
  • Script Windows applications like Excel
  • Author feedback at

about the author

Bruce Payette is a founding member of the PowerShell team at Microsoft. He is a co-designer of the PowerShell language and the principal author of the language implementation. Prior to joining Microsoft, he worked at Softway Systems and MKS, building UNIX tools for Windows.

THE book on PowerShell, it has ALL the secrets.

FROM THE FOREWORD by James Truher, PowerShell Program Manager, Microsoft Corporation

Bruce is a walking encyclopedia of every good, bad, solid, and wacky language idea that has been tried... This is a book that only Bruce could have written.

FROM THE FOREWORD by Jeffrey Snover, Windows PowerShell Architect

If all it had going for it was the authoratative pedigree of the writer, it might be worth it, but it's also well-written, well-organized, and thorough, which I think makes it invaluable as both a learning tool and a reference.

Jeff Copeland,

[It gives you] inside information, excellent examples, and a colorful writing style.

Marc van Orsouw (MOW), PowerShell MVP,

The nuances of PowerShell from the lead language designer himself! Excellent content and easy readability!

Keith Hill, Software Architect

I love this book!

Scott Hanselman,

There's no better way to learn PowerShell than from someone on the core PowerShell team - and that's exactly what you get with this book.

Joe Topjian,