September 2017
Beginner to intermediate
272 pages
8h 8m
English
The syntax for a DSC composite resource is exactly the same as a DSC configuration block. This makes sense because they are, in effect, the same thing. This is great because it allows you to copy and paste your existing working DSC configuration blocks and encapsulate them inside reusable components without much modification.
The exception to the statement that the syntax is the same is that you do not include the node block inside a DSC composite resource declaration. Since the DSC composite resource is being used inside the main DSC configuration block, it inherits the target node it's being applied to.
Remember when we covered the syntax of a DSC configuration block and said that you could use parameters ...
Read now
Unlock full access