Synopses & Reviews
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(r) 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.
A Note Regarding the CD or DVD
The print version of this book ships with a CD or DVD. For those customers purchasing one of the digital formats in which this book is available, we are pleased to offer the CD/DVD content as a free download via OReilly Medias Digital Distribution services. To download this content, please visit OReillys web site, search for the title of this book to find its catalog page, and click on the link below the cover image (Examples, Companion Content, or Practice Files). Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to [email protected].
Synopsis
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.
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