I watched a video on ITPro.tv about PowerShell Desired State Configuration DSC. They introduce it, and effectively run a script. However, this was their first (real) introduction of scripting too, so I didn't pick up the difference between DSC and regular scripting. I've done some regular scripting before, and maybe they just didn't have that great of an example; it seemed like a regular script could install a role/feature and copy some files just fine. I didn't see the benefit to DSC compared to just a script. Aside from a machine being able to poll for some kind of changes, which they didn't cover in practice, just in theory.
What are the benefit(s) of DSC over traditional scripts; for example "install role, copy file"?
- With PowerShell, you can connect to remote machines and tell them to do stuff, so that's not exclusive to DSC.
- With DSC it seems like you're doing some sort of compilation to make a mof file, and then you run it from the shell after the script, which seems like an unnecessary step.
- The MSDN overview reads like an overview of PowerShell, and I don't see the differentiating characteristics.