
PowerShell Core for Linux Administrators Cookbook
Use PowerShell Core 6.x on Linux to automate complex, repetitive, and time-consuming tasks
- 566 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
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
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
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- About Packt
- Contributors
- Preface
- Introducing PowerShell Core
- Preparing for Administration Using PowerShell
- First Steps in Administration Using PowerShell
- Passing Data through the Pipeline
- Using Variables and Objects
- Working with Strings
- Flow Control Using Branches and Loops
- Performing Calculations
- Using Arrays and Hashtables
- Handling Files and Directories
- Building Scripts and Functions
- Advanced Concepts of Functions
- Debugging and Error Handling
- Enterprise Administration Using PowerShell
- PowerShell and Cloud Operations
- Using PowerShell for SQL Database Management
- Using PowerShell with Docker
- Other Books You May Enjoy
Frequently asked questions
- 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.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app