You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.
...
-------------------------- 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.
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.
Expected Behavior
Return
Expect that the example work.
Current Behavior
When I try this, it fails:
Failure Information (for bugs)
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Call
Get-LatestServicingStackUpdate -OperatingSystem 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.
Get-Module -ListAvailable LatestUpdate
The text was updated successfully, but these errors were encountered: