When I was recently putting together a repo I needed to get a few packages from Nuget. I wanted also wanted to automate getting the packages for when other people downloaded the repo and ran the scripts. So it made sense to create a function that would download the package and test that the download was successful.

For info, read the synopsis!