Configuring the DSC local configuration manager
The LCM is a key component of DSC. LCM is a Windows service that runs on each DSC target node, and is responsible for receiving configuration information and ensuring that the node is configured in the desired state (and remains that way).
DSC has two mechanisms for the desired state delivery: push and pull. The earlier recipes in this chapter demonstrated the push model: you create a configuration and its related MOF file on one node and push that configuration to another node. In the pull model, you configure the node with details of where and how to find a pull server. Once configured, a node can pull configurations from the configured pull server. In both cases, it is the LCM that performs the actual configuration.
The way the LCM works changed in PowerShell version 5. In this recipe, which you run on SRV2
, you configure the LCM (based on the PowerShell V5 mechanism) on SRV2
and set up SRV2
to pull the DSC configuration from SRV1
which you...