Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleyHow authored Nov 28, 2023
1 parent f0f8b12 commit 18bc8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Public/Get-LatestOSBuild.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
If ($OSName -eq "Server2022") {
$Table = @()
$Table = @(
$VersionDataRaw = $Webpage.Links | Where-Object {$_.outerHTML -match "supLeftNavLink" -and $_.outerHTML -match "KB"} | Sort-Object -Property href -Unique
$VersionDataRaw = $Webpage.Links | Where-Object {$_.outerHTML -match "supLeftNavLink" -and $_.outerHTML -match "KB" -and $_.outerHTML -notmatch "25398."} | Sort-Object -Property href -Unique
$UniqueList = (Convert-ParsedArray -Array $VersionDataRaw) | Sort-Object OSBuild -Descending
ForEach ($Update in $UniqueList) {
$ResultObject = [Ordered] @{}
Expand Down

0 comments on commit 18bc8d6

Please sign in to comment.