Closed ITSNOTSTUPIDIFITWORKS closed 2 years ago
Fix:
add $_.Id -ne "headerRow" -and
in Get-MSCatalogUpdate.ps1
$_.Id -ne "headerRow" -and $_.SelectNodes("td")[1].innerText.Trim() -like "*$Search*"
Are you using the latest version from here, or the PSGallery? This should have been fixed by https://github.com/ryan-jan/MSCatalog/commit/003a30587f245076f83d25374710a47a613cfe54 but that has not been pushed to the gallery yet.
Oh i see. Thank you. Used the PSGallery version.
Get-MSCatalogUpdate -Search $searchstring -SortBy LastUpdated -Descending -IncludeFileNames -Strict