Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Configuration Setup {
- param ($NodeId, $PullServer)
- LocalConfigurationManager {
- AllowModuleOverwrite = 'True'
- ConfigurationID = $NodeId
- ConfigurationModeFrequencyMins = 10
- ConfigurationMode = 'ApplyAndAutoCorrect'
- RebootNodeIfNeeded = 'False'
- RefreshMode = 'PULL'
- DownloadManagerName = 'WebDownloadManager'
- DownloadManagerCustomData = (@{ServerUrl = "http://$PullServer/PSDSCPullServer.svc";AllowUnsecureConnection = 'True'})
- }
- }
- $guid = "c466bad4-f79b-408a-93d4-56bae2bc0445"
- Setup -NodeId $guid -PullServer "<dscserver>" -OutputPath <outputpath>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement