You are previewing PowerShell in Depth, Second Edition.
O'Reilly logo
PowerShell in Depth, Second Edition

Book Description

Summary

PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every major technique, technology, and tactic is carefully explained and demonstrated, providing a hands-on guide to almost everything an admin would do in the shell. Written by three experienced authors and PowerShell MVPs, this is the PowerShell book you'll keep next to your monitor—not on your bookshelf!

About the Book

A Windows admin using PowerShell every day may not have the time to search the net every time he or she hits a snag. Wouldn’t it be great to have a team of seasoned PowerShell experts ready to answer even the toughest questions? That’s what you get with this book.

PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every major technique, technology, and tactic is carefully explained and demonstrated, providing a hands-on guide to almost everything an admin would do in the shell. Written by PowerShell MVPs Don Jones, Jeffrey Hicks, and Richard Siddaway, each valuable technique was developed and thoroughly tested, so you’ll be able to consistently write production-quality, maintainable scripts while saving hours of time and effort.

This book assumes you know the basics of PowerShell.

What’s Inside

  • Automating tasks

  • Packaging and deploying scripts

  • Introduction to Desired State Configuration

  • PowerShell security

  • Covers PowerShell version 3 and later

  • About the Authors

    Don Jones, Jeffery Hicks, and Richard Siddaway are Microsoft MVPs, trainers, and administrators. Collectively, they’ve authored nearly three dozen books on PowerShell and Windows administration.

    Table of Contents

    1. Copyright
    2. Brief Table of Contents
    3. Table of Contents
    4. Praise for the First Edition
    5. Preface
    6. Acknowledgments
    7. About this Book
    8. Part 1. PowerShell fundamentals
      1. Chapter 1. Introduction
      2. Chapter 2. PowerShell hosts
      3. Chapter 3. Using the PowerShell help system
      4. Chapter 4. The basics of PowerShell syntax
      5. Chapter 5. Working with PSSnapins and modules
      6. Chapter 6. Operators
      7. Chapter 7. Working with objects
      8. Chapter 8. The PowerShell pipeline
      9. Chapter 9. Formatting
    9. Part 2. PowerShell management
      1. Chapter 10. PowerShell Remoting
      2. Chapter 11. Background jobs and scheduling
      3. Chapter 12. Working with credentials
      4. Chapter 13. Regular expressions
      5. Chapter 14. Working with HTML and XML data
      6. Chapter 15. PSDrives and PSProviders
      7. Chapter 16. Variables, arrays, hash tables, and script blocks
      8. Chapter 17. PowerShell security
      9. Chapter 18. Advanced PowerShell syntax
    10. Part 3. PowerShell scripting and automation
      1. Chapter 19. PowerShell’s scripting language
      2. Chapter 20. Basic scripts and functions
      3. Chapter 21. Creating objects for output
      4. Chapter 22. Scope
      5. Chapter 23. PowerShell workflows
      6. Chapter 24. Advanced syntax for scripts and functions
      7. Chapter 25. Script modules and manifest modules
      8. Chapter 26. Custom formatting views
      9. Chapter 27. Custom type extensions
      10. Chapter 28. Data language and internationalization
      11. Chapter 29. Writing help
      12. Chapter 30. Error handling techniques
      13. Chapter 31. Debugging tools and techniques
      14. Chapter 32. Functions that work like cmdlets
      15. Chapter 33. Tips and tricks for creating reports
    11. Part 4. Advanced PowerShell
      1. Chapter 34. Working with the Component Object Model (COM)
      2. Chapter 35. Working with .NET Framework objects
      3. Chapter 36. Accessing databases
      4. Chapter 37. Proxy functions
      5. Chapter 38. Building a GUI
      6. Chapter 39. WMI and CIM
      7. Chapter 40. Working with the web
      8. Chapter 41. Desired State Configuration
    12. Appendix A. Best practices
    13. Appendix B. PowerShell Web Access
    14. Appendix C. PowerShell versions
    15. Index
    16. List of Figures
    17. List of Tables
    18. List of Listings