PowerShell Core for Linux Administrators Cookbook
eBook - ePub

PowerShell Core for Linux Administrators Cookbook

Use PowerShell Core 6.x on Linux to automate complex, repetitive, and time-consuming tasks

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

PowerShell Core for Linux Administrators Cookbook

Use PowerShell Core 6.x on Linux to automate complex, repetitive, and time-consuming tasks

About this book

Over 150 recipes to leverage Microsoft's open source automation framework and command line shell

Key Features

  • Work effectively on Windows, Linux, and macOS with PowerShell's object-oriented approach and capabilities
  • Handle structured data seamlessly without the need for manual parsing
  • Enhance your native Linux capabilities with PowerShell Core 6.1

Book Description

PowerShell Core, the open source, cross-platform that is based on the open source, cross-platform.NET Core, is not a shell that came out by accident; it was intentionally created to be versatile and easy to learn at the same time. PowerShell Core enables automation on systems ranging from the Raspberry Pi to the cloud.

PowerShell Core for Linux Administrators Cookbook uses simple, real-world examples that teach you how to use PowerShell to effectively administer your environment. As you make your way through the book, you will cover interesting recipes on how PowerShell Core can be used to quickly automate complex, repetitive, and time-consuming tasks. In the concluding chapters, you will learn how to develop scripts to automate tasks that involve systems and enterprise management.

By the end of this book, you will have learned about the automation capabilities of PowerShell Core, including remote management using OpenSSH, cross-platform enterprise management, working with Docker containers, and managing SQL databases.

What you will learn

  • Leverage the object model of the shell, which is based on.NET Core
  • Administer computers locally as well as remotely using PowerShell over OpenSSH
  • Get to grips with advanced concepts of PowerShell functions
  • Use PowerShell for administration on the cloud
  • Know the best practices pertaining to PowerShell scripts and functions
  • Exploit the cross-platform capabilities of PowerShell to manage scheduled jobs, Docker containers and SQL Databases

Who this book is for

PowerShell Core for Linux Administrators Cookbook is for you if you are a system administrator who wants to learn to control and automate a Linux environment with PowerShell Core 6.1. Basic knowledge of PowerShell scripting is necessary. It is assumed that you already understand how an operating system is structured and how to use the command-line interface to work with the operating system.

Trusted by 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Contributors

About the authors

Prashanth Jayaram is a product design and automation expert in database technology with 12 years of rich, extensive, hands-on experience in designing database solutions with next-gen database technologies. He was awarded as the second-best SQL author of 2017 for his contribution to the SQL Server technology space. He has written over 200 articles about SQL, NoSQL, PowerShell, Python, SQL on Linux, SQL on Azure, and SQL on AWS.

Ram Iyer is an automation and application performance management specialist with about eight years of experience in enterprise IT. While ensuring that the environment in his enterprise performs optimally is his primary role, he is passionate about automation using PowerShell, and has contributed to over 60 enterprise-grade automation solutions in Windows, Microsoft Exchange, Microsoft Active Directory, Microsoft System Center, Citrix XenApp, VMware PowerCLI, and Microsoft Azure, using PowerShell. He gives back to the community by conducting training sessions in PowerShell and blogging about administration using PowerShell.

About the reviewers

Cathal Mullane has worked in the build, release and DevOps area for the past four years. After graduating from Limerick Institute of Technology with a first class honors degree in software development, he began to work with Hewlett Packard. In 2016, he joined Fleetmatics (now Verizo...

Table of contents

  1. Title Page
  2. Copyright and Credits
  3. Dedication
  4. About Packt
  5. Contributors
  6. Preface
  7. Introducing PowerShell Core
  8. Preparing for Administration Using PowerShell
  9. First Steps in Administration Using PowerShell
  10. Passing Data through the Pipeline
  11. Using Variables and Objects
  12. Working with Strings
  13. Flow Control Using Branches and Loops
  14. Performing Calculations
  15. Using Arrays and Hashtables
  16. Handling Files and Directories
  17. Building Scripts and Functions
  18. Advanced Concepts of Functions
  19. Debugging and Error Handling
  20. Enterprise Administration Using PowerShell
  21. PowerShell and Cloud Operations
  22. Using PowerShell for SQL Database Management
  23. Using PowerShell with Docker
  24. Other Books You May Enjoy

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 how to download books offline
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 990+ topics, we’ve got you covered! Learn about our mission
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 about Read Aloud
Yes! You can use the Perlego app on both iOS and 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 PowerShell Core for Linux Administrators Cookbook by Prashanth Jayaram, Ram Iyer in PDF and/or ePUB format, as well as other popular books in Computer Science & Operating Systems. We have over one million books available in our catalogue for you to explore.