Skip to content

Commit 5c1e0b1

Browse files
authored
Add files via upload
1 parent 1fffada commit 5c1e0b1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

WindowsOSBuild.psd1

164 Bytes
Binary file not shown.

WindowsOSBuild.psm1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
Function Get-LatestOSBuild {
22
<#
33
.SYNOPSIS
4-
Gets windows patch release information information (Build, KB Number, Release Date etc) for Windows client and server versions. Useful for scripting and automation purposes.
4+
Gets windows patch release information (Build, KB Number, Release Date etc) for Windows client and server versions. Useful for scripting and automation purposes.
55
Supports Windows 10 and Windows Server 2016 onwards.
66
.DESCRIPTION
7-
Gets windows patch release information from https://docs.microsoft.com/en-gb/windows/release-health/release-information and presents this in a usable format.
7+
Patch information retrieved from https://docs.microsoft.com/en-gb/windows/release-health/release-information and outputted in a usable format.
88
This source is updated regularly by Microsoft AFTER new patches are released. This means at times this info may not always in sync with Windows Update.
99
.PARAMETER OSName
10-
Optional - OS Name. Default value is Win10. Accepted values:
10+
This parameter is optional. OS name you want to check. Default value is Win10. Accepted values:
1111
1212
Windows Client OS Names - Win10, Win11.
1313
Windows Server OS Names - Server2016, Server2019, Server2022.
1414
.PARAMETER OSVersion
15-
Mandatory - OS Version number. Accepted values:
15+
This parameter is mandatory. OS version number you want to check. Accepted values:
1616
1717
Windows Client OS Versions:
1818
CB/CBB/SAC (Semi-Annual Channel) - 1507, 1511, 1607, 1703, 1709, 1803, 1809, 1903, 1909, 2004, 20H2, 21H2, 21H2.
@@ -22,9 +22,9 @@ Function Get-LatestOSBuild {
2222
SAC (Semi-Annual Channel) - 1809, 1903, 1909, 2004, 20H2.
2323
LTSB/LTSC (Long-Term Servicing Build/Channel) - Server 2016 = 1607, Server 2019 = 1809, Server 2022 = 21H2.
2424
.PARAMETER LatestReleases
25-
Optional - Returns last x releases (where x is the number of releases you want to display). Default value is 1.
25+
This parameter is optional. Returns last x releases (where x is the number of releases you want to display). Default value is 1.
2626
.PARAMETER BuildOnly
27-
Returns only the full build number/s of the OS Version. This is an optional parameter.
27+
This parameter is optional. Returns only the full build number/s of the OS Version.
2828
.EXAMPLE
2929
Get-LatestOSBuild -OSVersion 21H1
3030
Will show all information on the latest available OS Build for Version 21H1 in list format.

0 commit comments

Comments
 (0)