Windows Powershell in Action

( 2 )

Overview

Summary

Windows PowerShell in Action, Second Edition is a completely revised edition of the bestselling book on PowerShell, 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. The definitive book on PowerShell V2.

About the Technology

Windows PowerShell transformed the ...

See more details below
Paperback (Second Edition)
$41.54
BN.com price
(Save 30%)$59.99 List Price
Other sellers (Paperback)
  • All (13) from $29.96   
  • New (9) from $34.48   
  • Used (4) from $29.96   
Sending request ...

Overview

Summary

Windows PowerShell in Action, Second Edition is a completely revised edition of the bestselling book on PowerShell, 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. The definitive book on PowerShell V2.

About the Technology

Windows PowerShell transformed the way administrators and developers interact with Windows. PowerShell, an elegant dynamic language from Microsoft, lets you script administrative tasks and control Windows from the command line. Because it's a full-featured, first-class Windows programming language, programmers and power-users can now do things in a shell that previously required VB, VBScript, or C#.

About the Book

This expanded, revised, and updated Second Edition preserves the original's crystal-clear introduction to PowerShell and adds extensive coverage of v2 features such as advanced functions, modules, and remoting. It includes full chapters on these topics and also covers new language elements and operators, events, Web Services for Management, and the PowerShell Integrated Scripting Environment.

The First Edition's coverage of batch scripting and string processing, COM, WMI, and .NET have all been significantly revised and expanded. The book includes many popular usage scenarios and is rich in interesting examples that will spark your imagination. This is the definitive book on PowerShell v2!

Who Should Read It

Written for developers and administrators with intermediate level scripting knowledge. No prior experience with PowerShell is required.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

What's Inside

  • Batch scripting, string processing, files, and XML
  • PowerShell remoting
  • Application of COM and WMI
  • Network and GUI programming
  • Writing modules and scripts

========================================​=======

Table of Contents

  1. PART 1 Learning PowerShell
  2. Welcome to PowerShell
  3. Foundations of PowerShell
  4. Working with types
  5. Operators and expressions
  6. Advanced operators and variables
  7. Flow control in scripts
  8. PowerShell functions
  9. Advanced functions and scripts
  10. Using and authoring modules
  11. Module manifests and metadata
  12. Metaprogramming with scriptblocks and dynamic code
  13. Remoting and background jobs
  14. Remoting: configuring applications and services
  15. Errors and exceptions
  16. The PowerShell ISE and debugger,/LI.

  17. PART 2 Using PowerShell
  18. Working with files, text, and XML
  19. Extending your reach with .NET
  20. Working with COM
  21. Management objects: WMI and WS-MAN
  22. Responding in real time with eventing
  23. Security, security, security

This volume 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.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
1+1=2. The Earth is round. The Windows command line stinks. It's time to revisit one of your deepest assumptions about life. If you have the courage, read Windows PowerShell In Action.

Author Bruce Payette co-architected the PowerShell language and developed its core implementation, so you won't find a more knowledgeable author. Payette starts by outlining Microsoft's goals for PowerShell, explaining the approach it chose (and why it avoided other alternatives) and previewing some of PowerShell's major advantages (such as its support for the .NET object model).

Next, you'll walk through installing PowerShell (it doesn't ship with Vista, XP, or Server 2003 yet, but it'll run with all of them). You'll get comfortable with PowerShell's basic techniques and shortcuts and review some short scripts -- for evaluating basic expressions, processing data, and so forth. Payette illuminates important concepts such as "elastic syntax," pipelines, and "cmdlets" and explains PowerShell's complex parsing rules. Then, step by step, he covers virtually the entire language: types and their advantages; operators and variables, ScriptBlocks, errors, exceptions, debugging, and more.

In the final four chapters, you'll put PowerShell to work and gain a deeper understanding of its power. You'll walk through several processing examples utilizing text, files, and XML; learn how to create a WinForms application with PowerShell (and why you might want to); and use PowerShell to control existing COM and WMI objects.

Last but not least, it's been said that "you can't throw a dead cat without hitting a security feature" in PowerShell. In "lucky" Chapter 13, Payette introduces those security features and shows exactly how to take advantage of them. Bill Camarda, from the February 2007 Read Only

Read More Show Less

Product Details

  • ISBN-13: 9781935182139
  • Publisher: Manning Publications Company
  • Publication date: 5/28/2011
  • Edition description: Second Edition
  • Edition number: 2
  • Pages: 1016
  • Sales rank: 475,112
  • Product dimensions: 7.50 (w) x 9.20 (h) x 2.20 (d)

Meet the Author

Bruce Payette is a founding member of the PowerShell team at Microsoft. He is codesigner and principal author of the PowerShell language.

Read More Show Less

Table of Contents

PART I ­ MEETING POWERSHELL
1 - Welcome to PowerShell
2 - The Basics
3 - Types
4 - Operators and Expressions
5 - Advanced Operators and Variables
6 - Language Constructs
7 - Functions and Script
8 - ScriptBlocks and Objects
9 - Errors, Exceptions and Script Debugging
PART II - APPLYING POWERSHELL
10 - Processing Text, Files and XML
11 - Getting Fancy - .NET and WinForms
12 - Windows Objects: COM and WMI
13 - Security, Security, Security
Appendix A - Comparing PowerShell to Other Languages
Appendix B - Admin Examples
Appendix C - The PowerShell Grammar
Read More Show Less

Customer Reviews

Average Rating 4
( 2 )
Rating Distribution

5 Star

(1)

4 Star

(0)

3 Star

(1)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Posted December 30, 2010

    5 star content - 1 star index

    The page numbers in the index do not in anyway correlate with the page numbers that the content is actually found on. Which makes using this book as a reference next to useless.

    The real shame is the content of the book is top notch giving true insight not only into the syntax of the language but also into what went into the formation of the PowerShell language.

    Fingers crossed that the second edition fixes this major flaw.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted May 2, 2010

    No text was provided for this review.

Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)