This topic contains 4 replies, has 3 voices, and was last updated by
October 27, 2016 at 12:26 pm #56159
Using Server2012R2 with PowerShell 5.
I have set up a new Pullserver in our Production environment and am trying to pull a configuration to the test environment nodes:
PS C:\Windows\system32> PS C:\Windows\system32> Update-DscConfiguration -Verbose -wait VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = PerformRequiredConfigurationChecks,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration' . VERBOSE: An LCM method call arrived from computer vm04 with user sid S-1-5-21-195968190-741174349-770780043-93293. VERBOSE: [vm04]:  Executing Get-Action with configuration 's checksum: . VERBOSE: [vm04]:  Executing Get-Action with configuration 's checksum returned result status: GetConfiguration. VERBOSE: [vm04]:  Checksum is different. LCM will execute GetConfiguration to pull configuration . VERBOSE: [vm04]:  Executing GetConfiguration failed. Configuration is not pulled. Cannot find module ResourceSharePoint_188.8.131.52 from the server https://Pullserver:8080/PSDSCPullServer.svc/Modules(ModuleName='ResourceSharePoint',ModuleVersion='184.108.40.206')/ModuleContent. + CategoryInfo : ResourceUnavailable: (root/Microsoft/...gurationManager:String) , CimException + FullyQualifiedErrorId : WebDownloadManagerModuleNotFound,Microsoft.PowerShell.DesiredStateConfiguration.Commands.GetDscModuleCommand + PSComputerName : localhost
DSCevent log shows:
27.10.2016 14:05:36 4120 Error Module file was not found for ResourceSharePoint. 27.10.2016 14:05:36 4353 Information Module repository C:\Program Files\WindowsPowerShell\DscService\Modules is not found.
The resource is on the pullserver and the the mentioned folder does exist.
Any hints or tips are welcome 🙂
October 27, 2016 at 12:40 pm #56165
I have a test Pullserver running fine in our dev network. The only difference there is that the servers have access to internet in dev. And i have downloaded the powershellget package.
October 27, 2016 at 1:31 pm #56173KeymasterPoints: 1,811Rank: Community Hero
As a note, don't reply first to your own post – that removes you from the "Topics Without Replies" list that a lot of us use to find posts needing help :).
The resource, in a ZIP file, needs to be in the folder specified. Its filename needs to include its version information, and the pull server also needs a checksum file for the module, in the same folder. Does all of that exist?
October 27, 2016 at 1:35 pm #56174
Ok noted 🙂
I got this working:
By restarting the nodes then copying the zipped modules from the dev pullserver.
Will try to verify if a restart was needed when deploying to the 4 other farms.
Could seem to be that something went bananas in the zip-packing-operation of the modules. Though I have only been using the publish-DSCModuleAndMof -source "c:\source"
October 27, 2016 at 2:46 pm #56228ParticipantPoints: 0Rank: Member
Try the Publish-ModuleToPullServer cmdlet.
Get-Module xDnsServer -ListAvailable | Publish-ModuleToPullServer -PullServerWebConfig "$env:SystemDrive\inetpub\PSDSCPullServer\web.config"
That cmdlet takes care of zipping and copying the resources.
The topic ‘Executing GetConfiguration failed’ is closed to new replies.