Catalogs/Show-AllOSDUpdates.ps1
$AllOSDUpdates = @() $AllUpdateCatalogs = Get-ChildItem -Path "$PSScriptRoot\*" -Include '*.xml' foreach ($UpdateCatalog in $AllUpdateCatalogs) {$AllOSDUpdates += Import-Clixml -Path "$($UpdateCatalog.FullName)"} $AllOSDUpdates = $AllOSDUpdates | Select-Object -Property * | Sort-Object -Property Title -Unique | Sort-Object CreationDate -Descending #| Out-GridView -PassThru -Title "All OSDUpdates" Write-Host "" $AllOSDUpdates | Select-Object -Property CreationDate, KBNumber, Title | Out-File D:\GitHub\Modules\OSDSUS\UPDATES.md |