Learning PowerShell DSC.2/e
暫譯: 學習 PowerShell DSC (第2版)

James Pogran

  • 出版商: Packt Publishing
  • 出版日期: 2017-09-11
  • 售價: $2,010
  • 貴賓價: 9.5$1,910
  • 語言: 英文
  • 頁數: 272
  • 裝訂: Paperback
  • ISBN: 1787287246
  • ISBN-13: 9781787287242
  • 相關分類: Powershell
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Key Features

  • Create flexible and maintainable deployments using DSC configuration scripts that stand the test of time.
  • Explore the core architecture, concepts, and practices in depth.
  • Learning PowerShell DSC is a step-by-step guide that shows you how to start using and taking advantage of PowerShell DSC along with configuring and deploying applications.

Book Description

The main goal of this book is to teach you to configure, deploy, and manage your system using the new features of PowerShell v5/v6 DSC.

This book begins with the basics of PowerShell Desired State Configuration, covering its architecture and components. It familiarizes you with the set of Windows PowerShell language extensions and new Windows PowerShell commands that make up DSC. Then it helps you create DSC custom resources and work with DSC configurations with the help of practical examples. Finally, it describes how to deploy configuration data using PowerShell DSC. Throughout this book, we will be focusing on concepts such as building configurations with parameters, the local configuration manager, and testing and restoring configurations using PowerShell DSC.

By the end of the book, you will be able to deploy a real-world application end-to-end and will be familiar enough with the powerful Desired State Configuration platform to achieve continuous delivery and efficiently and easily manage and deploy data for systems.

What you will learn

  • Explore PowerShell Desired State Configuration and activities around it, including the need for configuration management and abstraction.
  • Create reusable DSC configurations and debug/ troubleshoot configuration files.
  • Learn about the PowerShell DSC architecture with the help of push-and-pull management and workflows.
  • Define DSC configuration scripts and data files and push DSC configuration files remotely and locally.
  • Validate DSC Pull Server install and register target nodes with a DSC Pull Server.
  • Learn about DSC Cross Platform and install PowerShell on Linux and macOS along with real-life DSC uses and different types of deployment.

About the Author

James Pogran has been working with computers in one way or another for over 15 years. His first job involved systems administration for a large military installation. He then moved on to develop monitoring software and automating large-scale Windows environments for a major managed services provider. He is currently a senior software engineer at Puppet, Inc, where he helps make Windows automation even better with Puppet.

Table of Contents

  1. Learning PowerShell DSC
  2. DSC Architecture
  3. DSC Configuration Files
  4. DSC Resources
  5. Pushing DSC Configurations
  6. Pulling DSC Configurations
  7. DSC Cross Platform Support
  8. Example Scenarios

商品描述(中文翻譯)

#### 主要特點

- 使用 DSC 配置腳本創建靈活且可維護的部署,經得起時間的考驗。
- 深入探索核心架構、概念和實踐。
- 《學習 PowerShell DSC》是一本逐步指南,展示如何開始使用和利用 PowerShell DSC,以及配置和部署應用程序。

#### 書籍描述

本書的主要目標是教您使用 PowerShell v5/v6 DSC 的新功能來配置、部署和管理您的系統。

本書從 PowerShell 所需狀態配置的基本概念開始,涵蓋其架構和組件。它使您熟悉構成 DSC 的一組 Windows PowerShell 語言擴展和新的 Windows PowerShell 命令。接著,它幫助您創建 DSC 自定義資源,並通過實際示例來處理 DSC 配置。最後,它描述了如何使用 PowerShell DSC 部署配置數據。在整本書中,我們將專注於構建帶有參數的配置、本地配置管理器,以及使用 PowerShell DSC 測試和恢復配置等概念。

在本書結束時,您將能夠端到端地部署一個實際應用程序,並對強大的所需狀態配置平台有足夠的了解,以實現持續交付,並高效、輕鬆地管理和部署系統數據。

#### 您將學到什麼

- 探索 PowerShell 所需狀態配置及其相關活動,包括配置管理和抽象的需求。
- 創建可重用的 DSC 配置並調試/排除配置文件的故障。
- 在推送和拉取管理及工作流程的幫助下,了解 PowerShell DSC 架構。
- 定義 DSC 配置腳本和數據文件,並遠程和本地推送 DSC 配置文件。
- 驗證 DSC 拉取伺服器的安裝並將目標節點註冊到 DSC 拉取伺服器。
- 了解 DSC 跨平台,並在 Linux 和 macOS 上安裝 PowerShell,以及實際的 DSC 用例和不同類型的部署。

#### 關於作者

**James Pogran** 在計算機領域工作了超過 15 年。他的第一份工作涉及大型軍事設施的系統管理。隨後,他轉向為一家主要的管理服務提供商開發監控軟件並自動化大規模的 Windows 環境。他目前是 Puppet, Inc 的高級軟件工程師,幫助使 Windows 自動化變得更好。

#### 目錄

1. 學習 PowerShell DSC
2. DSC 架構
3. DSC 配置文件
4. DSC 資源
5. 推送 DSC 配置
6. 拉取 DSC 配置
7. DSC 跨平台支持
8. 示例場景