Book Description
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.
Table of Contents
- Introducing PowerShell Core
- Preparing for Administration using PowerShell
- First Steps in Administration using PowerShell
- Passing data through pipelines
- Using Variables and Objects
- Working with Strings
- Flow Control using Branches and Loops
- Performing Calculations
- Using Arrays and Hash Tables
- 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
中文:
书名:PowerShell Core for Linux Administrators Cookbook
利用微软开源自动化框架和命令行外壳的150多种方法
Key Features
- 借助PowerShell的面向对象方法和功能,在Windows、Linux和MacOS上高效工作
- 无缝处理结构化数据,无需手动解析
- 使用PowerShell Core 6.1增强您的本机Linux功能
Book Description
PowerShell Core是基于开源、跨平台的.NET Core的开源跨平台内核,它不是一个偶然出现的外壳;它是故意创建的,目的是同时具有多功能性和易于学习的特性。PowerShell Core支持从Raspberry PI到云的各种系统的自动化。
PowerShell Core for Linux管理员手册使用简单、真实的示例,教您如何使用PowerShell来有效地管理您的环境。在您阅读本书的过程中,您将介绍如何使用PowerShell Core快速自动执行复杂、重复和耗时的任务的有趣配方。在最后一章中,您将学习如何开发脚本来自动化涉及系统和企业管理的任务。
在本书结束时,您将了解PowerShell Core的自动化功能,包括使用OpenSSH进行远程管理、跨平台企业管理、使用Docker Containers以及管理SQL数据库。
What you will learn
- Leverage the object model of the shell, which is based on .NET Core
- 使用OpenSSH上的PowerShell在本地和远程管理计算机
- 熟悉PowerShell函数的高级概念
- 使用PowerShell在云上进行管理
- 了解与PowerShell脚本和函数相关的最佳实践
- 利用PowerShell的跨平台功能来管理计划作业、Docker容器和SQL数据库
这本书是为谁而写的
如果您是一名系统管理员,希望学习如何使用PowerShell Core 6.1控制和自动化Linux环境,《PowerShell Core for Linux管理员食谱》适合您。PowerShell脚本编程的基本知识是必需的。假设您已经了解了操作系统的结构以及如何使用命令行界面与操作系统一起工作。
Table of Contents
- PowerShell酷睿简介
- 准备使用PowerShell进行管理
- 使用PowerShell进行管理的第一步
- 通过管道传递数据
- 使用变量和对象
- 使用字符串
- 使用分支和循环的流量控制
- 执行计算
- Using Arrays and Hash Tables
- Handling Files and Directories
- Building Scripts and Functions
- 高级函数概念
- Debugging and Error Handling
- 使用PowerShell的企业管理
- PowerShell和云运营
- Using PowerShell for SQL Database Management
- Using PowerShell with Docker
评论前必须登录!
注册