Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A simple DSC Client Setup Configuration
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'})
}
}
@jeffpatton1971

This comment has been minimized.

Copy link
Owner Author

jeffpatton1971 commented Dec 30, 2013

This assumes that you have already setup the web service and virtual directory stuffs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.