1 min read

What is Desired State Configuration?

Powershell Desired State Configuration (DSC) is really a powerful way of scripting. It is a declarative model of scripting, instead of you defining Powershell exactly each and every step to get from point A to point B. You only need to describe what point B is and Powershell takes care of it before anything. The biggest benefit is that we get to define our configuration, our infrastructures, our servers as a code. Desired State Configuration in Powershell can really be achieved through 3 simple steps:

  1. Create the Configuration
  2. Compile the Configuration into a MoF file
  3. Deploy the Configuration

What will you need to run Powershell DSC?

Thankfully we do not need a whole lot, Powershell comes with it built-in. So, for managing Windows systems with DSC you are going to need modern version of Powershell, that is:

  1. Windows 4.0, 5.0, 5.1
  2. Powershell DSC for Linux is available
  3. Currently limited support for Powershell Core

Read Next:

Exploring Windows PowerShell 5.0

Introducing PowerShell Remoting

Managing Nano Server with Windows PowerShell and Windows PowerShell DSC

 

 

Being a Senior Content Marketing Editor at Packt Publishing, I handle vast array of content in the tech space ranging from Data science, Web development, Programming, Cloud & Networking, IoT, Security and Game development. With prior experience and understanding of Marketing I aspire to grow leaps and bounds in the Content & Digital Marketing field. On the personal front I am an ambivert and love to read inspiring articles and books on life and in general.

LEAVE A REPLY

Please enter your comment!
Please enter your name here