This topic contains 5 replies, has 3 voices, and was last updated by
August 30, 2018 at 4:27 pm #110533
I am learning DSC. It may be very basic question for you, but I need to understand.
I understand that using dsc I can configure my servers and maintain the configuration. My main query is how much I can achieve using dsc? Suppose, I'm building a domain controller, so using DSC I can install the required roles features etc. After that what? Am I able to do the post configuration of ADDS service, i.e. can I promote to DC using DSC?
So like this what I can achieve using DSC, can you plz give me some example of DSC's capabilities. I am not asking about the configuration/ scripting. Want to know things I can do.
August 30, 2018 at 4:44 pm #110537ParticipantPoints: 319Rank: Contributor
What resources are you using to learn?
The Microsoft Virtual Academy provides video training on the topic, and of course there is YouTube, which has many vids posted on the topic.
With any tool or solution, there are several pieces to it. DSC is not really different. Start small and grow out from there.
Here are a few things that should provide you more edification on the topic. Yet, basically, if you have config stuff you do by hand, you can do it, in most respects with DSC automation.
PowerShell DSC 101 – What's it all about?
DSC is a Powershell technology that enables a set of server's configuration states to be described in a Powershell configuration object. Each part of the configuration for a server (or Node) is described using a Powershell DSC Resource. There are some “built in” resources, such as File, Registry, WindowsFeature, Script, but many others are available from third-party sources, such as the Powershell Gallery, or can be custom written. A DSC Resource provider will typically have three functions:
• Test (Figure out if the configuration is already in the desired state or not)
• Get (Return the state of the existing configured resource)
• Set (Make the resource comply with the desired state)
As for ADDS, DC..etc.. see these
August 31, 2018 at 4:27 am #110600
Thanks for those links. I am following MVA for learning DSC. Could you please help me a little bit more. I am unable to access Ashley McGlone videos. I am not a premium customer. Your support will help me a lot.
August 31, 2018 at 11:21 am #110624KeymasterPoints: 17Rank: Member
That's what we're here for. 🙂
August 30, 2018 at 5:00 pm #110545KeymasterPoints: 17Rank: Member
Hey there Roy,
To answer your questions:
Pretty much anything you can do manually on a server, you can accomplish with Desired State Configuration.
Yes you can. As a matter of fact, there are some configurations in the Azure DSC portal that you can use to do exactly this. The required module for these configurations is the xActiveDirectory module, which is also available at PowerShellGallery.com.
I've used DSC configurations for building out corporate compliant machines to reduce the overhead of the image building process, all the way out to building fully configured Citrix environments and Dynamics environments.
From a Windows server perspective, there really isn't much that you can't do, unless the application you're trying to support simply can't be automated. That's a technology problem that's usually easily remedied.
August 31, 2018 at 4:13 am #110599
Right, I just research a bit more, found that module, now I understand the idea. Everything is possible. Thanks man for your help and making me more interested in this topic.
The topic ‘Why DSC’ is closed to new replies.