daily pastebin goal
23%
SHARE
TWEET

PS-ConfigDSCPullClient.ps1

alcaron Feb 7th, 2014 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Configuration Setup {
  2.     param ($NodeId, $PullServer)
  3.  
  4.     LocalConfigurationManager {
  5.         AllowModuleOverwrite = 'True'
  6.         ConfigurationID = $NodeId
  7.         ConfigurationModeFrequencyMins = 10
  8.         ConfigurationMode = 'ApplyAndAutoCorrect'
  9.         RebootNodeIfNeeded = 'False'
  10.         RefreshMode = 'PULL'
  11.         DownloadManagerName = 'WebDownloadManager'
  12.         DownloadManagerCustomData = (@{ServerUrl = "http://$PullServer/PSDSCPullServer.svc";AllowUnsecureConnection = 'True'})
  13.     }
  14. }
  15.  
  16. $guid = "c466bad4-f79b-408a-93d4-56bae2bc0445"
  17. Setup -NodeId $guid -PullServer "<dscserver>" -OutputPath <outputpath>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top