< Back

Get-LatestServicingStackUpdate

Sat Jan 18, 2020 9:41 am

NAME Get-LatestServicingStackUpdate



SYNOPSIS

Retrieves the latest Windows 10 Servicing Stack Update.





SYNTAX

Get-LatestServicingStackUpdate [[-OperatingSystem] <String>] [[-Version] <String[]>] [-Previous]

[<CommonParameters>]





DESCRIPTION

Retrieves the latest Windows 10 Servicing Stack Update from the Windows 10 update history feed.



More information on Windows 10 Servicing Stack Updates can be found here:

https://docs.microsoft.com/en-us/window ... ck-updates





PARAMETERS

-OperatingSystem <String>

Specifies the the Windows operating system version to search for updates.



Required? false

Position? 1

Default value $script:resourceStrings.ParameterValues.VersionsAll[0]

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Version <String[]>

Specifies the Windows 10 Semi-annual Channel version number. Only valid when 'Windows10' is specified for

-OperatingSystem.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Previous [<SwitchParameter>]

Specifies that the previous to the latest update should be returned.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Management.Automation.PSObject





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-LatestServicingStackUpdate



This commands reads the the Windows 10 update history feed and returns an object that lists the most recent

Windows 10 Servicing Stack Update.









-------------------------- 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.











RELATED LINKS