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