PowerShell Required State configuration (DSC) Overview

Source: Internet
Author: User

What is DSC?

    • New features of the whole desired state Configuration,powershell v4
    • A set of rules sets the way scripts are written, and you can use them at any time, or combine a large number of user-written components. Not only in a group, but also die in a specific style to write scripts. Also called "Item Poency", doing things in exactly the same way, without any surprises,

DSC uses and Benefits

    • Distributed heterogeneous Configuration Management Platform
    • Why declarative configurations?
    • Managing Drift
    • Cross platform importance
    • DevOps?
    • For most scripts, different environments have different parameters that tend to result in dissimilar results, changing some of the server's properties, altering the configuration, messing with the system but for the DSC item Poency property, it enforces the results of all executions, keeping the results of the production and test environments consistent.
    • DSC is not only applicable to Windows but also to Unix
    • DEVOPS Bible
    • 650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/DA/wKioL1d-G1WTTxOcAAEx0yfUPAs920.png "/>

DSC system

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/83/DB/wKiom1d-G1WBl0jaAAFrNCwG6dQ402.png "/>

DSC Resources

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/DA/wKioL1d-G1bg4NjCAALekZwFNEo802.png "/>

DSC Requirements

    • Supported PowerShell versions and Operating Systems
    • Feb WMF 5 Preview KB3037315
    • DSC is built on CIM and needs the WinRM service and listeners Remoting
    • Configuring Remoting for DSC
    • Configure a script execution policy

Find DCs resource, get means Find local, find indicates internet

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/83/DB/wKiom1d-G1ewucmUAAD8qE-4LAU415.png "/>

PowerShell Required State configuration (DSC) Overview

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.