September 2017
Beginner to intermediate
272 pages
8h 8m
English
The most flexible and preferred method is to use the ConfigurationData hashtable. This specifically structured hashtable provides a flexible way of declaring frequently changing data in a format that DSC will be able to read and then insert into the MOF file as it compiles it. This approach will be covered in greater detail later in Chapter 3, DSC Configuration Files, but it must be included in this chapter to fully describe the DSC architecture. Don't worry too much if the importance of this feature is not readily apparent. With the following command lines, we define a specifically formatted hashtable called $data:
$data = @{ # Node specific data # Note that is an array of hashes. It's easy to miss # the array designation ...Read now
Unlock full access