Windows PowerShell 2.0 Best Practices [NOOK Book]

Overview

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 ...
See more details below
Windows PowerShell 2.0 Best Practices

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$27.49
BN.com price
(Save 42%)$47.99 List Price

Overview

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.

Read More Show Less

Product Details

  • ISBN-13: 9780735646100
  • Publisher: Pearson Education
  • Publication date: 12/30/2009
  • Series: IT Best Practices - Microsoft Press
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 752
  • Sales rank: 533,585
  • File size: 10 MB

Meet 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.

Read More Show Less

Table of Contents

Pt. I Introduction

Ch. 1 Assessing the Scripting Environment 3

Ch. 2 Survey of Windows PowerShell Capabilities 27

Ch. 3 Survey of Active Directory Capabilities 65

Ch. 4 User Management 99

Pt. II Planning

Ch. 5 Identifying Scripting Opportunities 133

Ch. 6 Configuring the Script Environment 167

Ch. 7 Avoiding Scripting Pitfalls 207

Ch. 8 Tracking Scripting Opportunities 253

Pt. III Designing

Ch. 9 Designing Functions 293

Ch. 10 Designing Help for Scripts 331

Ch. 11 Planning for Modules 373

Ch. 12 Handling Input and Output 407

Ch. 13 Handling Errors 461

Pt. IV Testing and Deploying

Ch. 14 Testing Scripts 499

Ch. 15 Running Scripts 543

Pt. V Optimizing

Ch. 16 Logging Results 577

Ch. 17 Troubleshooting Scripts 601

Appendix A 635

Appendix B 647

Appendix C 651

Appendix D 655

Appendix E 693

Appendix F 697

Index 699

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
  • Anonymous

    Posted December 6, 2011

    Great Book!

    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.

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

    Posted April 4, 2010

    I Also Recommend:

    I purchased this because Don Jones' book, "Powershell 2.0: TFM" was not out yet. I was very dissapointed with this book, and wound up buying Don Jones' book anyway.

    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.

    Was this review helpful? Yes  No   Report 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)