Last active
January 1, 2016 18:59
-
-
Save jeffpatton1971/8187557 to your computer and use it in GitHub Desktop.
A simple DSC Client Setup Configuration
This file contains hidden or 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 SetupDSCClient | |
{ | |
param | |
( | |
[string]$NodeId, | |
[string]$PullServer | |
) | |
LocalConfigurationManager | |
{ | |
AllowModuleOverwrite = 'True' | |
ConfigurationID = $NodeId | |
ConfigurationModeFrequencyMins = 30 | |
RefreshFrequencyMins = 15 | |
ConfigurationMode = 'ApplyAndAutoCorrect' | |
RebootNodeIfNeeded = 'True' | |
RefreshMode = 'PULL' | |
DownloadManagerName = 'WebDownloadManager' | |
DownloadManagerCustomData = (@{ServerUrl = "http://$($PullServer)/psdscpullserver.svc";AllowUnsecureConnection = 'True'}) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This assumes that you have already setup the web service and virtual directory stuffs.