The LCM configuration

Configuring the LCM is done by authoring an LCM configuration block with the desired settings specified. When compiled, the LCM configuration block produces a file with the meta.mof extension. Applying the meta.mof file is done using the Set-DscLocalConfigurationManager cmdlet .

You are not required to write your LCM configuration block in a file; it can alternatively be placed inside the DSC configuration file. There are several reasons to separate them. Your settings for the LCM could potentially change more often than your DSC configuration files, and keeping them separated reduces changes to your core files. You could also have different settings for different servers, which you may not want to express or tie down inside your DSC configuration files. It's up to you how you want to organize things.

Compiling the LCM configuration block to MOF is done just like a DSC configuration block by invoking the name of the LCM configuration you defined. You apply the resulting meta.mof file to the target node using the Set-DscLocalConfigurationManager cmdlet.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset