Archive for November 20th, 2007

Book Review: Windows PowerShell Cookbook

Scripting November 20th, 2007

Windows PowerShell Cookbook by Lee Holmes is the latest in the Cookbook series by O’Reilly Publishing.  I have been a huge fan of the Cookbook series of books.  The Cookbooks are set up in the Problem/Solution/Discussion format, where the author proposes a common problem, shows a code/configuration solution to that problem, and then discusses why/how this solves the problem. 

The Cookbook series has covered many technical topics and, in my opinion, covered the topics quite well.  My current favorite is the IOS Cookbook, which set the bar quite high for the level of content for this series.

When I heard that there was going to be a Cookbook focused on PowerShell, I eagerly watched for it to appear on the bookshelf at my local bookstore (and to be available online).  My first impression was that, for an O’Reilly Cookbook, it was rather skinny (584 pages).  Being skinny does not doom a book to being a poor resource, so I picked it up and began to read. 

In scanning the table of contents, it appeared that the book covered a wide array of common, not-so-common, and quite interesting tasks.  After five minutes of reviewing the enclosed scripts and instructions, I was extremely disappointed.  While the problems covered a good amount of ground and the scripts to solve the problems were elegant (better than anything I could come up with), the discussion was lacking. 

In the IOS Cookbook, one could gain a working understanding of many of the protocols, services, and features offered in Cisco devices through the discussion portion of the solutions.  I did not see that same ability reflected in the Windows PowerShell Cookbook. 

The most disappointing to me was the coverage of how to create a PowerShell Cmdlet and how to add PowerShell scripting to  your own programs.  While Mr. Holmes provides examples of how to do each of the tasks, the discussion could be summed up as “check out the SDK documentation”.  The book would have been better if he had not broached these topics.

The Windows PowerShell Cookbook will stay on my shelf as a reference book (for the code samples), but I would look to other resources first (e.g. Windows PowerShell In Action by Bruce Payette), if you need a resource to help learn PowerShell.

If you have read this book, please let me know what you thought.

Powered by ScribeFire.