This repository has been archived by the owner on Feb 28, 2021. It is now read-only.
Get-LatestServicingStack -OperatingSystem Windows8 throws an error #58
Labels
enhancement
New feature or request
Expected Behavior
Get-LatestServicingStack -OperatingSystem Windows8
Should return the latest Servicing Stack updateCurrent Behavior
Throws an error
Failure Information (for bugs)
Please help provide information about the failure if this is a bug by issuing the command using the
-Verbose
command.Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Get-LatestServicingStack -OperatingSystem Windows8
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Get-Module -ListAvailable LatestUpdate
Get-PSVersion
Proposed Fix
It seems it is because a KB was released with the title "Servicing Stack Updates (SSU): Frequently Ask Questions" which matches the search string. My issue was resolved by updating the resource string to be
"ServicingStack" : "^Servicing stack update for.*",
Cheers
The text was updated successfully, but these errors were encountered: