Windows PowerShell 2.0 Best Practices

Windows PowerShell 2.0 Best Practices

NOOK Book(eBook)

$27.99 $47.99 Save 42% Current price is $27.99, Original price is $47.99. You Save 42%.
View All Available Formats & Editions

Available on Compatible NOOK Devices and the free NOOK Apps.
WANT A NOOK?  Explore Now


Apply best practices for automating system administration with Windows PowerShell 2.0 and optimize your operational efficiency and results. This guide captures the field-tested tips, real-world lessons, and candid advice of practitioners across the range of business and technical scenarios and across the scripting life cycle. Discover how to:

  • Take advantage of new features and cmdlets in Windows PowerShell 2.0
  • Plan scripting usage scenarios and define standards Deploy Windows PowerShell 2.0 to desktops and servers
  • Configure scripting environments
  • Optimize remote scripting capabilities
  • Work with Active Directory and WMI
  • Design functions and modules
  • Optimize input and output
  • Handle errors
  • Document scripts
  • Test and troubleshoot scripts
  • Avoid scripting pitfalls

The companion CD includes a fully searchable eBook and sample scripts.

For customers who purchase an ebook version of this title, instructions for downloading the CD files can be found in the ebook.

Product Details

ISBN-13: 9780735646100
Publisher: Pearson Education
Publication date: 12/16/2009
Series: IT Best Practices - Microsoft Press
Sold by: Barnes & Noble
Format: NOOK Book
Pages: 752
File size: 10 MB

About the Author

Ed Wilson is a well-known scripting expert who delivers popular scripting workshops to Microsoft customers and employees worldwide. He's written several books on Windows scripting, including Microsoft Windows PowerShell Step by Step and Microsoft VBScript Step by Step. Ed is a senior consultant at Microsoft Corporation.

Table of Contents

  • Acknowledgments
  • Introduction
  • About the Companion Media
  • Part I: Introduction
    • Chapter 1: Assessing the Scripting Environment
    • Chapter 2: Survey of Windows PowerShell Capabilities
    • Chapter 3: Survey of Active Directory Capabilities
    • Chapter 4: User Management
  • Part II: Planning
    • Chapter 5: Identifying Scripting Opportunities
    • Chapter 6: Configuring the Script Environment
    • Chapter 7: Avoiding Scripting Pitfalls
    • Chapter 8: Tracking Scripting Opportunities
  • Part III: Designing
    • Chapter 9: Designing Functions
    • Chapter 10: Designing Help for Scripts
    • Chapter 11: Planning for Modules
    • Chapter 12: Handling Input and Output
    • Chapter 13: Handling Errors
  • Part IV: Testing and Deploying
    • Chapter 14: Testing Scripts
    • Chapter 15: Running Scripts
  • Part V: Optimizing
    • Chapter 16: Logging Results
    • Chapter 17: Troubleshooting Scripts
  • Windows PowerShell 2.0 cmdlets
  • Common Windows PowerShell Verbs
  • Useful COM Objects
  • Useful WMI Classes
  • Useful Microsoft .NET Framework Classes
  • WMI Error Messages

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews

Windows PowerShell 2. 0 Best Practices 4 out of 5 based on 0 ratings. 2 reviews.
Guest More than 1 year ago
I bought this book thinking to learn a new programming language but was surprised to learn that this book is the second in a series. That fact was not clear on the description on the back cover. But, I bought the first book and read both of them straight thru. A great read! Easy to follow and understand. The author is very adept at making the language easy to understand which is not always the case. I would recommend this book, and the first, to anyone wishing to learn another programming language.
Anonymous More than 1 year ago
I am a Network / Systems Engineer with advanced VBScript skills that I used at my previous job almost daily. I recently started at a new company and decided it was time to make the switch from VBScript to Powershell 2.0. For additional motivation, I made the decision not to write any scripts in VBscript, until I was as comfortable using Powershell as I had been with VBScript. When I first learned VBScript, I picked up a book authored by Ed Wilson, and felt it was very poor. Ultimately, I put it back on my bookshelf and taught myself VBScript from web resources. As a result, it took me a couple of months to develop solid scripting skills. I then picked up a book from Don Jones to use as a reference on a couple of topics, and ended up reading it cover to cover. After I was finished, I couldn't help but think that it would have been so much faster and easier to have just picked up this book in the first place. Upon deciding to make the switch to Powershell 2.0, I found that Don Jones' book was not out yet, and as a result I decided to give Ed Wilson a second chance. Ed Wilson's Powershell 2.0 best practices book was a far cry from the quality of the Don Jones VBScript book I had on my shelf. I ended up purchasing Don Jones' Powershell 2.0: TFM when it came out, and in my opinion it is a significantly better book, with tons of content, presented in a concise, well-organized and accessible writing style. However, I did prefer Ed Wilson's book in a couple of small areas: Ed Wilson's explanation of using Functions with a defined Process block vs. Filters provided a performance comparison that I felt better illustrated the topic, and I believe Ed Wilson's book better addressed using static methods and properties of .NET classes within Powershell. Overall though, I regretted purchasing Ed Wilson's Powershell 2.0 Best Practices book, as I did not feel it was even remotely worth the price I paid for it. It is the second scripting book authored by Ed Wilson I have purchased, and it will be the last. I highly recommend that you buy the Powershell 2.0 TFM series authored by Don Jones and Jeffery Hicks instead of this book.