Skip to content

Commit

Permalink
Merge pull request #34 from AshleyHow/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
AshleyHow authored Nov 28, 2023
2 parents fdeb3a0 + 18bc8d6 commit 2ac6745
Show file tree
Hide file tree
Showing 2 changed files 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
Binary file modified WindowsOSBuild.psd1
Binary file not shown.

0 comments on commit 2ac6745

Please sign in to comment.