Comments (2)
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.
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)
- WSUS Cleanup task is defined with incorrect script block HOT 2
- Parameterize WSUS Cleanup Task name
- UpdateServicesServer - Languages HOT 3
- UpdateServicesDsc - Is out of date on Powershell Gallery HOT 7
- UpdateServicesServer - Download Properties HOT 1
- Target Groups Creation HOT 2
- [UpdateServicesServer] Languages test return false after set
- [UpdateServicesServer]: master branch resource mistype in if statement for #ClientTargetingMode check HOT 3
- [UpdateServicesServer] Products test return false after set
- UpdateServicesServer: WSUS.cab file is missing products HOT 4
- [UpdateServicesServer] Upstream Server triggers reconfigure when not specified HOT 3
- Add Examples
- UpdateServicesServer: Products fails for "Windows Admin Center" HOT 5
- UpdateServicesServer: Verbose output broken for Languages
- UpdateServicesApprovalRule: Broken verbose output
- UpdateServicesServer, UpdateServicesApprovalRule: Allow use of friendly names or GUIDs in Products, Classifications HOT 2
- UpdateServicesServer: Null value passed to New-InvalidResultException HOT 2
- UpdateServicesServer unable to handle duplicate product name values HOT 2
- Improve pester tests : increase Code coverage to 80%, migrate to pester v5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from updateservicesdsc.