The DSC Book : page 21


I have a printed copy of the DSC Book that I picked up at TechEd 2014. (Thanks for that!)

Page 21 has the “Configuraion SetPullMode” configuration file.

I was wondering about the last line:

Set-DSCLocalConfigurationManager -Computer member2.lab.pri -Path ./SetPullMode -Verbose 

The -Path parameter is pointing to the location where the COMPUTERNAME.mof file is ($source) and not the GUID.mof file ($dest). Is this correct?


Yep, that’s correct. The SetPullMode will actually contain a meta.mof file, which is what the Set-DSCLocalConfigurationManager cmdlet needs. The GUID comes into play afterward, when the LCM is pulling its configuration from the pull server.