September 2017
Beginner to intermediate
272 pages
8h 8m
English
Configuration data can be hardcoded inside DSC configuration files, but this is not optimal in most cases. You will mostly use this for static sets of information or to reduce redundant code, as shown in the following code snippet:
configuration FooBar { $features = @('Web-Server', 'Web-Asp-Net45') Foreach($feature in $features){ WindowsFeature "Install$($feature)" { Name = $feature } } }
Read now
Unlock full access