-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UpdateServicesServer: Products fails for "Windows Admin Center" #61
Comments
The same applies to Lines 220 to 223 in dd6be4e
|
with the same name Fix dsccommunity#61
When testing this, I found an additional related issue with verbose output of Products at line 157. If there are multiple Products selected, only the first one is displayed. UpdateServicesDsc/source/DSCResources/MSFT_UpdateServicesServer/MSFT_UpdateServicesServer.psm1 Line 157 in dd6be4e
Proposed fix (already included in the commit): Write-Verbose -Message ($script:localizedData.WsusProducts -f ($Products -join ', ')) |
I reopen this issue because PR #71 doesn't cover |
Has there been any progress on this issue? Still having problems with this error for UpdateServicesApprovalRule resource. |
I got the same issue |
Details of the scenario you tried and the problem that is occurring
The
UpdateServicesServer
resource fails to configure Products when there are multiple entries returned for a given name (e.g. "Windows Admin Center" is a Product Family as well as Product):This causes the following code to fail:
UpdateServicesDsc/source/DSCResources/MSFT_UpdateServicesServer/MSFT_UpdateServicesServer.psm1
Lines 589 to 592 in dd6be4e
Verbose logs showing the problem
Suggested solution to the issue
Adjust the code to process multiple entries in
$WsusProduct
separately:Similar change would likely be needed as part of solution to #13
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Version and build of PowerShell the target node is running
Version of the DSC module that was used
The text was updated successfully, but these errors were encountered: