Defining a DSC configuration data file

In the previous sections, we covered using DSC configuration script files with DSC configuration data, but we have not covered exactly how you specify configuration data or how it is stored separately from the configuration scripts. In this section, we will cover this and the rules applying to what configuration data can be specified, as well as some best practices for using it.

When we refer to DSC configuration data, we are referring to any environmental data supplied to the DSC configuration function. This may be slightly confusing, as we mentioned a DSC special variable called $ConfigurationData earlier in this chapter. Try to remember when we refer to the DSC configuration data term that, we are referring ...

Get Learning PowerShell DSC now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.