Skip to content

Instantly share code, notes, and snippets.

@JamesDawson
Created October 2, 2013 00:11
Show Gist options
  • Save JamesDawson/6787210 to your computer and use it in GitHub Desktop.
Save JamesDawson/6787210 to your computer and use it in GitHub Desktop.
Configuration SetPullMode
{
Node Server01
{
# Set the DSC engine (LCM) to Pull mode
DesiredStateConfigurationSettings LCM
{
ConfigurationID = "e528dee8-6f0b-4885-98a1-1ee4d8e86d82"
ConfigurationMode = "Pull"
DownloadManagerName = "WebDownloadManager"
DownloadManagerCustomData = @{ServerUrl = "http://<PullServer>:8080/PSDSCPullServer/PSDSCPullServer.svc" }
PullActionRefreshFrequencyInSeconds = 60
}
}
}
SetPullMode
Set-DSCLocalConfigurationManager -ComputerName Server01 -Path .\SetPullMode -Verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment