Book description
GET MORE WITH MANNING
An eBook copy of the previous edition, Learn PowerShell Toolmaking in a Month of Lunches, is included at no additional cost. It will be automatically added to your Manning account within 24 hours of purchase.
Discover how scripting is different from command-line PowerShell, as you explore concrete hands-on examples in this handy guide. The book includes and expands on many of the techniques presented in Learn PowerShell Toolmaking in a Month of Lunches.
About the Technology
Automate it! With Microsoft's PowerShell language, you can write scripts to control nearly every aspect of Windows. Just master a few straightforward scripting skills, and you'll be able to eliminate repetitive manual tasks, create custom reusable tools, and build effective pipelines and workflows. Once you start scripting in PowerShell, you'll be amazed at how many opportunities you'll find to save time and effort.
About the Book
Learn PowerShell Scripting in a Month of Lunches teaches you how to expand your command-line PowerShell skills into effective scripts and tools. In 27 bite-size lessons, you'll discover instantly useful techniques for writing efficient code, finding and squashing bugs, organizing your scripts into libraries, and much more. Advanced scripters will even learn to access the .NET Framework, store data long term, and create nice user interfaces.
What's Inside
- Designing functions and scripts
- Effective pipeline usage
- Dealing with errors and bugs
- Professional-grade scripting practices
About the Reader
Written for devs and IT pros comfortable with PowerShell and Windows.
About the Author
Don Jones is a PowerShell MVP, speaker, and trainer who has written dozens of books on information technology topics. Jeffery Hicks is a PowerShell MVP and an independent consultant, trainer, and author. Don and Jeff coauthored Manning's Learn Windows PowerShell in a Month of Lunches, Learn PowerShell Toolmaking in a Month of Lunches, and PowerShell in Depth.
Quotes
A very clear and concise depiction of the best parts of PowerShell.
- Justin Coulston, Intellectual Technology
A great resource for those who want to create scripts for task automation.
- Bruno Sonnino, Revolution Software
Teaches you how to become an informed expert in PowerShell scripting.
- Shankar Swamy, Stealth Mode Start-up
Real-world examples, best practices, and tips from two of the most respected PowerShell MVPs.
- Roman Levchenko, Microsoft MVP
It makes you stop and think, not just 'read and nod.'
- Reka Horvath, Wirecard CEE
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Preface
- Acknowledgments
- About this Book
- About the Authors
-
Part 1. Introduction to scripting
- Chapter 1. Before you begin
- Chapter 2. Setting up your scripting environment
- Chapter 3. WWPD: what would PowerShell do?
- Chapter 4. Review: parameter binding and the PowerShell pipeline
- Chapter 5. Scripting language crash course
- Chapter 6. The many forms of scripting (and which to use)
- Chapter 7. Scripts and security
-
Part 2. Building a PowerShell script
- Chapter 8. Always design first
- Chapter 9. Avoiding bugs: start with a command
- Chapter 10. Building a basic function and script module
- Chapter 11. Going advanced with your function
- Chapter 12. Objects: the best kind of output
- Chapter 13. Using all the pipelines
- Chapter 14. Simple help: making a comment
- Chapter 15. Dealing with errors
- Chapter 16. Filling out a manifest
- Part 3. Grown-up scripting
- Part 4. Advanced techniques
- Toolmaking Best Practices Checklist
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Learn PowerShell Scripting in a Month of Lunches
- Author(s):
- Release date: December 2017
- Publisher(s): Manning Publications
- ISBN: 9781617295096