< Back

Get-LatestCumulativeUpdate

Sat Jan 18, 2020 9:40 am

NAME Get-LatestCumulativeUpdate



SYNOPSIS

Retrieves the latest Windows 10 Cumulative Update.





SYNTAX

Get-LatestCumulativeUpdate [[-OperatingSystem] <String>] [[-Version] <String[]>] [-Previous] [<CommonParameters>]





DESCRIPTION

Retrieves the latest Windows 10 Cumulative Update from the Windows 10 update history feed.



More information on Windows 10 Cumulative Updates can be found at:

https://docs.microsoft.com/en-us/window ... nt/update/





PARAMETERS

-OperatingSystem <String>

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



Required? false

Position? 1

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

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Version <String[]>

Specifies the Windows 10 Semi-annual Channel version number.



Required? false

Position? 2

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

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



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

Windows 10 Semi-annual Channel Cumulative Update.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-LatestCumulativeUpdate -Version 1809



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

Windows 10 1809 Cumulative Update.









-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-LatestCumulativeUpdate -OperatingSystem WindowsServer -Version 1809



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

Windows Server 2019 Cumulative Update.











RELATED LINKS