Registering target nodes with a DSC Pull Server

Now that the DSC Pull Server is set up and verified as working, we can address telling the target nodes where the DSC Pull Server is. We do this by configuring the LCM with the endpoint information for the DSC Pull Server; there isn't a self-discovery method to use.

Registering a WMF 4 target node

Notice how this is a similar DSC configuration script to any we have used so far, until we get to the keyword LocalConfigurationManager. We use this keyword to configure the local LCM to operate how we want it to:

Configuration WMF4TargetNodeLCM
{
  Node $AllNodes.Where({ $_.Roles -contains 'Target'}).NodeName
  {
    LocalConfigurationManager
    {
      ConfigurationId     = $Node.ConfigurationId
 RefreshMode = $Node.RefreshMode ...

Get Learning PowerShell DSC now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.