ryan-jan/MSCatalog

Save-MSCatalogUpdate - Unable to download anything

Closed this issue · 1 comments

Expected Behavior

Files should be downloaded or produce a message indicating that they could not be found.

Current Behavior

If zero links are found it by default assumes multiple files are available, but no links have actually been found.

Possible Solution

Microsoft changed the base URL for there update files. RegEx needs to be updated to accommodate and add some simple logic to return a warning if no links are found,

Steps to Reproduce

  1. Install latest version of MSCatlog Module from PSGallery
  2. Run example snippet from ReadMe - Save-MSCatalogUpdate -Guid "4734d13d-5e5a-4b64-9e93-225674ec811c" -Destination "."

image

Fixed by #16