Windows PowerShell Cookbook, 3rd Edition
How do you use Windows PowerShell to navigate the filesystem, manage files and folders, or retrieve a web page? This introduction to the PowerShell language and scripting environment provides more than 400 task-oriented recipes to help you solve all kinds of problems. Intermediate to advanced system administrators will find more than 100 tried-and-tested scripts they can copy and use immediately.
Updated for PowerShell 3.0, this comprehensive cookbook includes hands-on recipes for common tasks and administrative jobs that you can apply whether you’re on the client or server version of Windows. You also get quick references to technologies used in conjunction with PowerShell, including format specifiers and frequently referenced registry keys to selected .NET, COM, and WMI classes.
- Learn how to use PowerShell on Windows 8 and Windows Server 2012
- Tour PowerShell’s core features, including the command model, object-based pipeline, and ubiquitous scripting
- Master fundamentals such as the interactive shell, pipeline, and object concepts
- Perform common tasks that involve working with files, Internet-connected scripts, user interaction, and more
- Solve tasks in systems and enterprise management, such as working with Active Directory and the filesystem
Table of Contents
Part I: Tour
A Guided Tour of Windows PowerShell
Part II: Fundamentals
Chapter 1. The Windows PowerShell Interactive Shell
Chapter 2. Pipelines
Chapter 3. Variables and Objects
Chapter 4. Looping and Flow Control
Chapter 5. Strings and Unstructured Text
Chapter 6. Calculations and Math
Chapter 7. Lists, Arrays, and Hashtables
Chapter 8. Utility Tasks
Part III: Common Tasks
Chapter 9. Simple Files
Chapter 10. Structured Files
Chapter 11. Code Reuse
Chapter 12. Internet-Enabled Scripts
Chapter 13. User Interaction
Chapter 14. Debugging
Chapter 15. Tracing and Error Management
Chapter 16. Environmental Awareness
Chapter 17. Extend the Reach of Windows PowerShell
Chapter 18. Security and Script Signing
Chapter 19. Integrated Scripting Environment
Part IV: Administrator Tasks
Chapter 20. Files and Directories
Chapter 21. The Windows Registry
Chapter 22. Comparing Data
Chapter 23. Event Logs
Chapter 24. Processes
Chapter 25. System Services
Chapter 26. Active Directory
Chapter 27. Enterprise Computer Management
Chapter 28. Windows Management Instrumentation
Chapter 29. Remoting
Chapter 30. Workflows
Chapter 31. Transactions
Chapter 32. Event Handling
Part V: References
Appendix A. PowerShell Language and Environment
Appendix B. Regular Expression Reference
Appendix C. XPath Quick Reference
Appendix D. .NET String Formatting
Appendix E. .NET DateTime Formatting
Appendix F. Selected .NET Classes and Their Uses
Appendix G. WMI Reference
Appendix H. Selected COM Objects and Their Uses
Appendix I. Selected Events and Their Uses
Appendix J. Standard PowerShell Verbs
Book Details
- Paperback: 1036 pages
- Publisher: O’Reilly Media; 3rd Edition (December 2012)
- Language: English
- ISBN-10: 1449320686
- ISBN-13: 978-1449320683