none
DSC resources are not being downloaded from pull server

    Pertanyaan

  • I setup HTTP pull server in lab but my clients are not downloading custom resources they need. Modules with resources are placed in proper location with checksum:

    PS C:\Program Files\WindowsPowerShell\DscService\Modules> Get-ChildItem
    
    
        Directory: C:\Program Files\WindowsPowerShell\DscService\Modules
    
    
    Mode                LastWriteTime         Length Name
    ----                -------------         ------ ----
    -a----       15.04.2018     12:14          63321 SecurityPolicyDsc_2.2.0.0.zip
    -a----       15.04.2018     14:39             64 SecurityPolicyDsc_2.2.0.0.zip.checksum
    -a----       15.04.2018     12:13          41408 xCertificate_3.2.0.0.zip
    -a----       15.04.2018     14:39             64 xCertificate_3.2.0.0.zip.checksum
    -a----       15.04.2018     12:13          45503 xComputerManagement_4.0.0.0.zip
    -a----       15.04.2018     14:39             64 xComputerManagement_4.0.0.0.zip.checksum
    -a----       15.04.2018     12:12          12793 xSystemSecurity_1.3.0.0.zip
    -a----       15.04.2018     14:39             64 xSystemSecurity_1.3.0.0.zip.checksum

    On client side I can see following in both event log and this cmdlet:
    PS C:\Windows\system32> Get-DscConfiguration
    Get-DscConfiguration : The PowerShell DSC resource MSFT_xScheduledTask from module  does n
    ot exist at the PowerShell module path nor is it registered as a WMI DSC resource.
    At line:1 char:1
    + Get-DscConfiguration
    + ~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (MSFT_DSCLocalConfigurationManager:root/Microsoft/...gurationManager)
       [Get-DscConfiguration], CimException
        + FullyQualifiedErrorId : DscResourceNotFound,Get-DscConfiguration
    What could be the issue?
    If I download the resources to clients everything runs perfectly.

    • Dipindahkan oleh Bill_Stewart Rabu, 30 Mei 2018 20.54 This is not "troubleshoot stuff for me" forum
    Minggu, 15 April 2018 22.14

Semua Balasan

  • Hello,

    Can you specify the path your're using in your DSC script .

    Can you check if the client can access the pull server manually .

    Senin, 09 Juli 2018 10.56