Practical Automation with PowerShell
eBook - ePub

Practical Automation with PowerShell

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

Practical Automation with PowerShell

About this book

Take PowerShell beyond simple scripts and build time-saving automations for your team, your users, and the world. In Practical Automation with PowerShell you will learn how to:

  • Build PowerShell functions to automate common and complex tasks
  • Create smart automations that are adaptable to new challenges
  • Structure your code for sharing and reusability
  • Store and secure your automations
  • Execute automations with Azure Automation, Jenkins, Task Scheduler, and Cron
  • Share your automations with your team and non-technical colleagues
  • Store and retrieve data, credentials, and variables
  • Use source control solutions to maintain and test code changes
  • Provide front-end UI solutions for PowerShell automations


Practical Automation in PowerShell reveals how you can use PowerShell to build automation solutions for a huge number of common admin and DevOps tasks. Author Matthew Dowst uses his decades of experience to lay out a real blueprint for setting up an enterprise scripting environment with PowerShell. The book goes beyond the basics to show you how to handle the unforeseen complexities that can keep automations from becoming reusable and resilient. From the console to the cloud, you'll learn how to manage your code, avoid common pitfalls, and create sharable automations that are adaptable to different use cases. About the Technology The PowerShell scripting language is a force multiplier, giving you programmatic control over your whole data center. With this powerful tool, you can create reusable automations that radically improve consistency and productivity on your Ops team. This book shows you how to design, write, organize, and deploy scripts to automate operations on systems of all sizes, from local servers to enterprise clusters in the cloud. About the Book Practical Automation with PowerShell: Effective scripting from the console to the cloud shows you how to build PowerShell automations for local and cloud systems. In it, you'll find tips for identifying automatable tasks, techniques for structuring and managing scripts, and lots of well-explained example code. You'll even learn how to adapt existing scripts to new use cases and empower non-technical users through easy-to-understand SharePoint frontends. What's Inside

  • Structure PowerShell code for sharing and reusability
  • Store and secure your automations
  • Execute automation with Azure Automation, Jenkins, Task Scheduler, and Cron
  • Store and retrieve data, credentials, and variables
  • Use source control solutions to maintain and test code changes


About the Reader For sysadmin and IT professionals who manage backend systems. About the Author Matthew Dowst has over 15 years of experience in IT management and consulting. Table of contents PART 1
1 PowerShell automation
2 Get started automating
PART 2
3 Scheduling automation scripts
4 Handling sensitive data
5 PowerShell remote execution
6 Making adaptable automations
7 Working with SQL
8 Cloud-based automation
9 Working outside of PowerShell
10 Automation coding best practices
PART 3
11 End-user scripts and forms
12 Sharing scripts among a team
13 Testing your scripts
14 Maintaining your code

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 Practical Automation with PowerShell by Matthew Dowst in PDF and/or ePUB format, as well as other popular books in Ciencia de la computación & Administración de sistemas. We have over one million books available in our catalogue for you to explore.

Table of contents

  1. inside front cover
  2. Practical Automation with PowerShell
  3. Copyright
  4. dedication
  5. brief contents
  6. contents
  7. front matter
  8. Part 1.
  9. 1 PowerShell automation
  10. 2 Get started automating
  11. Part 2.
  12. 3 Scheduling automation scripts
  13. 4 Handling sensitive data
  14. 5 PowerShell remote execution
  15. 6 Making adaptable automations
  16. 7 Working with SQL
  17. 8 Cloud-based automation
  18. 9 Working outside of PowerShell
  19. 10 Automation coding best practices
  20. Part 3.
  21. 11 End-user scripts and forms
  22. 12 Sharing scripts among a team
  23. 13 Testing your scripts
  24. 14 Maintaining your code
  25. Appendix. Development environment set up
  26. index