جزییات کتاب
Over 150 recipes to leverage Microsoft's open source automation framework and command line shellKey FeaturesWork effectively on Windows, Linux, and macOS with PowerShell’s object-oriented approach and capabilitiesGenerate rich insights into your Linux workloads to help remediate any issuesEnhance your native Linux capabilities with PowerShell Core 6.1Book DescriptionPowerShell 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 learnLeverage the object model of the shell, which is based on .NET CoreAdminister computers locally as well as remotely using PowerShell over OpenSSHGet to grips with advanced concepts of PowerShell functionsUse PowerShell for administration on the cloudKnow the best practices pertaining to PowerShell scripts and functionsExploit the cross-platform capabilities of PowerShell to manage scheduled jobs, Docker containers and SQL DatabasesWho this book is forPowerShell Core 6.1 Linux Administration 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. Table of ContentsIntroducing PowerShell CorePreparing for Administration using PowerShellFirst Steps in Administration using PowerShellPassing data through pipelinesUsing Variables and ObjectsWorking with StringsFlow Control using Branches and LoopsPerforming Calculations Using Arrays and Hash Tables Handling Files and Directories Building Scripts and FunctionsAdvanced Concepts of Functions Debugging and Error Handling Enterprise Administration using PowerShell PowerShell and Cloud OperationsUsing PowerShell for SQL Database Management Using PowerShell with Docker