What NuGet PowerShell command will return a list of all versions of a specific package?
I have tried the following, but it only returns one version of NUnit along with a number of other (un)related packages, each having only one version.
Get-Package -Source https://go.microsoft.com/fwlink/?LinkID=206669 -ListAvailable -Filter NUnit -AllVersions
Note: I specify the source URI because we have our own internal package source as our default remote.
My understanding is that the -AllVersions switch should pull back every version of each matching package.
I can't seem to figure out:
- Am I doing it wrong?
- If not, are project maintainers (or someone else) removing older versions from the package source?
- If they are, why?