Learn PowerShell Scripting in a Month of Lunches
eBook - ePub

Learn PowerShell Scripting in a Month of Lunches

  1. 352 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learn PowerShell Scripting in a Month of Lunches

About this book

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

PART 1 - INTRODUCTION TO SCRIPTING

  • Before you begin
  • Setting up your scripting environment
  • WWPD: what would PowerShell do?
  • Review: parameter binding and the PowerShell pipeline
  • Scripting language crash course
  • The many forms of scripting (and which to use)
  • Scripts and security

PART 2 - BUILDING A POWERSHELL SCRIPT

  • Always design first
  • Avoiding bugs: start with a command
  • Building a basic function and script module
  • Going advanced with your function
  • Objects: the best kind of output
  • Using all the pipelines
  • Simple help: making a comment
  • Dealing with errors
  • Filling out a manifest

PART 3 - GROWN-UP SCRIPTING

  • Changing your brain when it comes to scripting
  • Professional-grade scripting
  • An introduction to source control with git
  • Pestering your script
  • Signing your script
  • Publishing your script

PART 4 - ADVANCED TECHNIQUES

  • Squashing bugs
  • Making script output prettier
  • Wrapping up the.NET Framework
  • Storing data-not in Excel!
  • Never the end

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access Learn PowerShell Scripting in a Month of Lunches by Don Jones,Jeffery Hicks in PDF and/or ePUB format, as well as other popular books in Informatique & Langues de programmation. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Preface
  5. Acknowledgments
  6. About this Book
  7. About the Authors
  8. Part 1. Introduction to scripting
  9. Part 2. Building a PowerShell script
  10. Part 3. Grown-up scripting
  11. Part 4. Advanced techniques
  12. Appendix. Toolmaking Best Practices Checklist
  13. Index
  14. List of Figures
  15. List of Tables
  16. List of Listings