Learning PowerShell DSC.2/e

James Pogran

  • 出版商: Packt Publishing
  • 出版日期: 2017-09-11
  • 售價: $1,940
  • 貴賓價: 9.5$1,843
  • 語言: 英文
  • 頁數: 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 Desired State Configuration的基礎知識開始,介紹其架構和組件。它使您熟悉組成DSC的一組Windows PowerShell語言擴展和新的Windows PowerShell命令。然後,它通過實際示例幫助您創建DSC自定義資源並使用DSC配置。最後,它描述了如何使用PowerShell DSC部署配置數據。在整本書中,我們將重點關注概念,如使用參數構建配置、本地配置管理器以及使用PowerShell DSC進行測試和恢復配置。

通過閱讀本書,您將能夠從頭到尾部署一個真實的應用程序,並且對強大的Desired State Configuration平台足夠熟悉,以實現持續交付,並高效輕鬆地管理和部署系統數據。

您將學到什麼


  • 探索PowerShell Desired State Configuration及其周圍的活動,包括配置管理和抽象的需求。

  • 創建可重用的DSC配置並調試/排除配置文件。

  • 通過推送和拉取管理以及工作流程了解PowerShell DSC架構。

  • 定義DSC配置腳本和數據文件,並遠程和本地推送DSC配置文件。

  • 驗證DSC Pull Server的安裝並註冊目標節點。

  • 了解DSC跨平台,並在Linux和macOS上安裝PowerShell,以及實際的DSC用途和不同類型的部署。

關於作者

James Pogran在過去15年中以各種方式與計算機工作。他的第一份工作涉及大型軍事設施的系統管理。然後,他轉而開發監控軟件並自動化大型Windows環境,為一家主要的托管服務提供商工作。他目前是Puppet, Inc的高級軟件工程師,他在該公司幫助改進Puppet的Windows自動化。

目錄


  1. 學習PowerShell DSC

  2. DSC架構

  3. DSC配置文件

  4. DSC資源

  5. 推送DSC配置

  6. 拉取DSC配置

  7. DSC跨平台支持

  8. 示例場景