Executing GetConfiguration failed

Welcome Forums DSC (Desired State Configuration) Executing GetConfiguration failed

This topic contains 4 replies, has 3 voices, and was last updated by

2 years, 4 months ago.

  • Author
  • #56159

    Points: 2
    Rank: Member

    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_1.0.0.0 from the server https://Pullserver:8080/PSDSCPullServer.svc/Modules(ModuleName='ResourceSharePoint',ModuleVersion='')/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 🙂



  • #56165

    Points: 2
    Rank: Member

    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.



  • #56173

    Points: 1,811
    Helping HandTeam Member
    Rank: 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?

  • #56174

    Points: 2
    Rank: Member

    Hi Don,

    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"



  • #56228

    Points: 0
    Rank: 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.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort