Code Monkey home page Code Monkey logo

Comments (2)

mvds-vdsc avatar mvds-vdsc commented on June 3, 2024

It seems that the problem is related to the fact that the same product title is used in different places in the WSUS product structure, for example Windows Server 2019 is used under Developer Tools and also under the Windows product group. I guess the code will need to be adjusted to use GUID's instead of Title to make this work because the title property is ambiguous.

from updateservicesdsc.

ericscheffler avatar ericscheffler commented on June 3, 2024

Piling on, I'm seeing this issue as well, but in a totally different context; my resource is configured as follows:

        # Set up WSUS
        UpdateServicesServer 'WSUSConfig'
        {
            Ensure     = 'Present'
            SQLServer  = "$sqlServer.$DomainName"
            ContentDir = "${disk}:\Software"
            SetupCredential = $DomainCreds
        }

The configuration compiles correctly and seems to set the correct values as verified in the registry, but I see the same output the OP posted above. After perusing the code the only instance I can find of the "ErrorRecord" parameter is in the PDT function, can someone verify what that function is doing? There might be something else going on in my config that might be interfering, would like to rule that out.

The operating system the target node is running
WS2019 Datacenter (Azure VM)

Version and build of PowerShell the target node is running

Name Value


PSVersion 5.1.14393.3866
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.3866
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Version of the DSC module that was used
'UpdateServicesDsc' Version 1.2.1

**** Update to my comment above; after debugging the Set-TargetResource function the error seems to be triggered after executing line 663 of MSFT_UpdateServicesServer.psm1. I'm guessing the pipeline variable isn't getting populated? If I comment out lines 660-664 the full Set seems to run without issue.

from updateservicesdsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.