or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $17.79 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Windows PowerShell in Action, Second Edition [Paperback]

Bruce Payette
4.9 out of 5 stars  See all reviews (19 customer reviews)

List Price: $59.99
Price: $35.37 & FREE Shipping. Details
You Save: $24.62 (41%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it tomorrow, June 20? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Rent Your Textbooks
Save up to 70% when you rent your textbooks on Amazon. Keep your textbook rentals for a semester and rental return shipping is free.

Book Description

May 18, 2011 1935182137 978-1935182139 Second Edition
Windows PowerShell transformed the way administrators and developers interact with Windows, allowing them to script administrative tasks and control Windows from the command line. It's now a daily timesaver for anyone working with Windows Server, Exchange Server, SQL Server, and other mission-critical tools.

Windows PowerShell in Action, Second Edition shows 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. This updated edition covers PowerShell V2 in detail, with full chapters on remoting, modules, events, and the PowerShell Integrated Scripting Environment.

While no prior knowledge of PowerShell is required, the reader should have some amount of scripting or programming experience.

Frequently Bought Together

Windows PowerShell in Action, Second Edition + Learn Windows PowerShell 3 in a Month of Lunches + Windows PowerShell Cookbook: The Complete Guide to Scripting Microsoft's Command Shell
Price for all three: $93.95

Buy the selected items together


Editorial Reviews

From the Author

PowerShell V2 added an enormous number of new features to the product. Similarly, this book represents a major expansion on the first edition. At nearly twice the length of the first book, it provides deep and detailed coverage of PowerShell V2 and its features:

Chapter 1-PowerShell's history and a quick tour of its features.
 
Chapter 2-Foundations of PowerShell - the core concepts underlying the PowerShell language and execution environment.

Chapter 3-An introduction to the PowerShell type system and how it works.

Chapter 4-Operators and expressions including basic arithmetic, comparison and assignment, wildcard and regular expression pattern matching.

Chapter 5-Operations for working with arrays (indexing, slicing) and objects (properties and methods, output redirection, the formatting operator and PowerShell variables.

Chapter 6-PowerShell language constructs like conditional statements and loops.
 
Chapter 7-Basic scripting in PowerShell, introducing functions and variable scoping.

Chapter 8-How to write advanced functions and scripts using parameter metadata, dynamic parameters and how to create in-line help for your functions and scripts.

Chapter 9-Using and authoring PowerShell modules.

Chapter 10-Advanced topics in modules including how modules should be used in a production environment.

Chapter 11-Advanced scripting techniques covering metaprogramming, scriptblocks, dynamic modules and closures.

Chapter 12-PowerShell remoting - the basics of operation and application.

Chapter 13-Remoting in depth covering the protocol stack, custom configurations and constrained service endpoints.

Chapter 14 Error and exception handling.

Chapter 15 The PowerShell Integrated Scripting Environment and debugger.
 
Chapter 16-Text processing such as basic string processing, file processing (including handling binary files) and working with XML documents including the use of the new XLinq APIs.

Chapter 17-Leveraging the .NET framework to do network programming and build GUIs in Windows Forms and WPF.

Chapter 18-Using COM to automate Windows features including the task scheduler and applications like Word and Internet Explorer.

Chapter 19-Using WMI and WSMan from the command line and in scripts to inspect, update and manage a Windows system.

Chapter 20-In-depth coverage and application of the PowerShell eventing subsystem.

Chapter 21-Security concepts and best practices for PowerShell

Sample chapters, the appendixes and code for the examples in the book can be downloaded from the Manning website.

About the Author

Bruce Payette is a Princpal Developer in the Manageability group at Microsoft. He is a founding member of the PowerShell team, the author of the PowerShell language interpreter, and one of the designers of the Windows PowerShell language. Bruce has been working on shells and related tools for the past 20 years on a wide variety of operating systems including Unix and Linux.

Product Details

  • Paperback: 1016 pages
  • Publisher: Manning Publications; Second Edition edition (May 18, 2011)
  • Language: English
  • ISBN-10: 1935182137
  • ISBN-13: 978-1935182139
  • Product Dimensions: 7.2 x 2 x 9 inches
  • Shipping Weight: 3.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.9 out of 5 stars  See all reviews (19 customer reviews)
  • Amazon Best Sellers Rank: #37,497 in Books (See Top 100 in Books)

More About the Author

Bruce Payette is a founding member of the Windows PowerShell team, the author of the Windows PowerShell language interpreter, and one of key designers of the Windows PowerShell language. He has been working on UNIX shell and utility tools for Windows for the past 15 years at companies like MKS and Softway Systems (now part of Microsoft Services for Unix).

Customer Reviews

4.9 out of 5 stars
(19)
4.9 out of 5 stars
3 star
0
2 star
0
1 star
0
Highly recommended for anyone who wants to understand what PowerShell is all about! Daniel Buzatu  |  7 reviewers made a similar statement
The book is written with passion and flair. Rich Turner  |  2 reviewers made a similar statement
Most Helpful Customer Reviews
15 of 15 people found the following review helpful
5.0 out of 5 stars The definitive PowerShell book June 2, 2011
Format:Paperback
This is sort of like Kernighan and Ritchie for PowerShell. Very deep look at how PowerShell works, written by the principal author of the language. Covers everything from the parser to the remoting stack. I would not recommend this to a beginner trying to move beyond the Windows GUI, but the book is great for someone with a programming or scripting background. Light on hand-holding and heavy on gory details.
Comment | 
Was this review helpful to you?
14 of 14 people found the following review helpful
5.0 out of 5 stars Impressive detail July 23, 2011
Format:Paperback
Manning was kind enough to send me the eBook version of PowersShell In Action to review. At right around 1000 pages, you certainly couldn't ask for a more detailed book on PowerShell; nor could you ask for a more respected author - Bruce Payette was one of the original designers of the language. His insider knowledge really shows through the book, too. If you're a coder like me, you're probably often found yourself using some new technology and shaking your head in amazement, wondering what the designers possible could have been thinking when they wrote this or that feature.

In the case of PowerShell, you can wonder no more. Almost every controversial design decision that went into the script language is detailed by Mr. Payette; the pros and cons weighed, and the final arguments that tipped the balance in one direction or another are covered. It's extremely handy when you wonder "Why in the world can't I do X?" and then you find that X couldn't possibly work with Y, and you can easily do Y, and Y makes your job easier anyway.

The book is divided into two parts: First, a section on the language itself; loops and operators, data structures, and the basics of editing scripts, and second, what you might call "Real World PowerShell", where the intricacies of interacting with the Windows computer management system, the .Net framework, XML, and a few other things are covered.
... Read more ›
Was this review helpful to you?
9 of 9 people found the following review helpful
5.0 out of 5 stars best book about Powershell May 27, 2011
Format:Paperback
This is the best book about Powershell. It is well written and does a great job of conveying a picture of how all the various parts fit together.

I use this book to learn the environment, and the O'Reilly Powershell Cookbook for examples. They make a good pair.
Was this review helpful to you?
4 of 4 people found the following review helpful
Format:Paperback
This is hands-down the best Powershell book out there. What distinguishes this book is that it teaches you *how* to script, not just how to copy snippets of code.
Other Powershell books (other scripting books in general) will just give you loads of examples that you can customize. They'll show you one script to backup files; another to manage event logs; a third to query WMI; and so on. But they never teach *how* or *why* these scripts work.
This book is different. It will teach you all the Powershell commands, of course. And it includes examples listed above. But it will also teach you important scripting techniques. What properties and methods are. When to use a multi-dimensional instead of a hashtable. How to write a script that runs faster and uses less memory. How to write secure scripts and how to handle errors.
To make a good analogy: Other Powershell books are cookbooks. They'll give you step-by-step instructions that you shouldn't ever change. This book is The Joy of Cooking. It will teach you how to make your own recipes.
Comment | 
Was this review helpful to you?
4 of 4 people found the following review helpful
5.0 out of 5 stars Must Have 2nd Edition August 30, 2011
By R. Hill
Format:Paperback
I've had the misfortune of buying a number of Nth edition books that only added marginal amounts of new information. Windows PowerShell in Action, Second Edition is *not* one of those books. This book has been extensively updated to cover Windows PowerShell version 2 which adds many new and important capabilities such as new cmdlets, advanced functions, background jobs, remote command execution, script packaging via modules, better debugging support and improved error handling. Bruce covers the new capabilities in detail and provides pearls of information that only an insider could know. And of course the second edition carries over the excellent treatise on the PowerShell language from the first edition.

This is a very worthy second edition and is *the* PowerShell reference book for me and I'd dare say for anyone who wants to get the most out of Windows PowerShell.
Comment | 
Was this review helpful to you?
3 of 3 people found the following review helpful
5.0 out of 5 stars Why I love this book (as a Unix admin) January 4, 2013
Format:Paperback|Amazon Verified Purchase
This book is written by one of the authors of PowerShell itself, and he approaches admin scripting in a way that just makes sense, in both the language and in the book. If you're forced to administer Windows machines, you *have* to have this book.

But this quote in the preface completely sold me:

In the early part of this decade, Microsoft commissioned a study to identify areas where it could improve its offerings in the server space. Server management, and particularly command-line management of Windows systems, were called out as areas for improvement. While some might say that this is like discovering that water is wet, the important point is that people cared about the problem.
Comment | 
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars great resource June 27, 2011
Format:Paperback
This book covers it all. I quickly went from knowing nothing about PowerShell to setting up some utilities that simplified my life. But PowerShell is much more powerful than just batch utilities and Bruce does a good job of making that clear.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
5.0 out of 5 stars Very in depth and well written guide. Although not the newest version...
I consider this book to be the best on Powershell 2.0 with full detailed explanations, examples and easy to follow instructions, guides and a remarkable and uncanny delivery method... Read more
Published 16 days ago by K. Johnson
5.0 out of 5 stars smarter
I have gotten so much out of this book. I use it as a reference since it so well organized
Published 3 months ago by Mark Brecher
5.0 out of 5 stars Understanding PowerShell, not just learning to write scripts
An excellent book that clearly explains the language from its lowest levels, starting at times from the discussions and considerations that led to the current implementation. Read more
Published 5 months ago by Daniel Buzatu
5.0 out of 5 stars Excellent learning & reference book
I recommend this book to everyone who asks me how to learn Powershell. If you've never written any code or scripts, there will be a big learning curve as the book is not meant to... Read more
Published 5 months ago by Drew
5.0 out of 5 stars Encyclopedic
I am very impressed by Bruce Payette's book - Manning's "In Action" series is going strong - and believe that it's a must-have for an administrator interested in PowerShell, and a... Read more
Published 5 months ago by Dimitri Shvorob
5.0 out of 5 stars Helpful
A handbook for the user. It explains the basics and goes beyond. With a clear explanations we can achieve solid ideas of how powershell works and how we can improve our everyday... Read more
Published 6 months ago by Sabino
4.0 out of 5 stars A lot of information
I think this is a good book, but do not care to read it. I found the TFM book to be easier to read and may eventually get around to reading this one. Read more
Published 9 months ago by pseudosymbiotic
5.0 out of 5 stars Fantastic guide to Powershell by the guy who led the design of the...
If you want to truly understand how Powershell works, how to use it and why the language was designed in the way that it was (e.g. why -eq and not '='? Read more
Published 16 months ago by Rich Turner
5.0 out of 5 stars Doug Finke
I am a PowerShell MVP, I have both the first and second editions of the book. Reading about PowerShell from the guy who co-created it, indispensable. Read more
Published 21 months ago by Doug Finke
Search Customer Reviews
Only search this product's reviews


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

Search Customer Discussions
Search all Amazon discussions

Topic From this Discussion
Release Date?
Hi Brian,

I talked to the publisher yesterday. The books came back from the printer last Friday (Feb. 9) and are on their way to Amazon. I think Amazon is now quoting a delivery date of Feb 17th or 19th. It takes a week or so Amazon to receive the stock and start filling orders.

-bruce
Feb 13, 2007 by Bruce Payette |  See all 3 posts
Release date? Be the first to reply
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category