This repository was archived by the owner on Feb 28, 2021. It is now read-only.
This repository was archived by the owner on Feb 28, 2021. It is now read-only.
Open
Description
Expected Behavior
get-help Get-LatestServicingStackUpdate -examples
Return
...
-------------------------- EXAMPLE 2 --------------------------
PS C:\>Get-LatestServicingStackUpdate -OperatingSystem WindowsServer
This commands reads the the Windows 10 update history feed and returns an object that lists the most recent Windows Server 2016, 2019 and Semi-Annual Channel Servicing Stack Updates.
Expect that the example work.
Current Behavior
When I try this, it fails:
Get-LatestServicingStackUpdate -OperatingSystem WindowsServer
Failure Information (for bugs)
Get-LatestServicingStackUpdate : Cannot validate argument on parameter 'OperatingSystem'. The " $_ -in $script:resourceStrings.ParameterValues.VersionsAll " validation script for the argumen
t with value "WindowsServer" did not return a result of True. Determine why the validation script failed, and then try the command again.
At line:1 char:49
+ Get-LatestServicingStackUpdate -OperatingSystem WindowsServer
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-LatestServicingStackUpdate], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Get-LatestServicingStackUpdate
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
- Step 1
CallGet-LatestServicingStackUpdate -OperatingSystem 560F WindowsServer
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
- LatestUpdate Version: Use
Get-Module -ListAvailable LatestUpdate
PS C:\Windows\system32> Get-Module -ListAvailable LatestUpdate
Directory: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 3.0.171 LatestUpdate {Get-LatestAdobeFlashUpdate, Get-LatestCumulativeUpdate, Get-LatestMonthlyRollup, Get-LatestNetFrameworkUpdate...}
Metadata
Metadata
Assignees
Labels
No labels