Created
October 2, 2013 00:16
-
-
Save JamesDawson/6787238 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Configuration SetPullMode | |
{ | |
Node Server01 | |
{ | |
# Set the DSC engine (LCM) to Pull mode | |
LocalConfigurationManager | |
{ | |
ConfigurationID = "e528dee8-6f0b-4885-98a1-1ee4d8e86d82" | |
ConfigurationMode = "ApplyOnly" | |
RefreshMode = "Pull" | |
DownloadManagerName = "WebDownloadManager" | |
DownloadManagerCustomData = @{ | |
ServerUrl = "http://<PullServer>:8080/PSDSCPullServer/PSDSCPullServer.svc" ; | |
AllowUnsecureConnection = "true"; | |
} | |
} | |
} | |
} | |
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