Pearson Higher Education
Learn PowerShell Scripting in a Month of Lunches
Learn PowerShell Scripting in a Month of Lunches
Couldn't load pickup availability
Summary
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.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
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 Authors
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.
Table of Contents
1. PART 1 - INTRODUCTION TO SCRIPTING
2. Before you begin
3. Setting up your scripting environment
4. WWPD: what would PowerShell do?
5. Review: parameter binding and the PowerShell pipeline
6. Scripting language crash course
7. The many forms of scripting (and which to use)
8. Scripts and security
9. PART 2 - BUILDING A POWERSHELL SCRIPT
10. Always design first
11. Avoiding bugs: start with a command
12. Building a basic function and script module
13. Going advanced with your function
14. Objects: the best kind of output
15. Using all the pipelines
16. Simple help: making a comment
17. Dealing with errors
18. Filling out a manifest
19. PART 3 - GROWN-UP SCRIPTING
20. Changing your brain when it comes to scripting
21. Professional-grade scripting
22. An introduction to source control with git
23. Pestering your script
24. Signing your script
25. Publishing your script
26. PART 4 - ADVANCED TECHNIQUES
27. Squashing bugs
28. Making script output prettier
29. Wrapping up the .NET Framework
30. Storing data-not in Excel!
31. Never the end
Share
Publication year: 2017
Publication date: 2017-11-28
Pages: 352
Binding: Paperback
Language: English
Publisher: Manning Publications
ISBN: 9781617295096
Dimensions: 18.75 x 2.03 x 23.49 cm
Weight: 0.61 kg
