For some reason I cannot find nuget packages without starting the admin console.
This does not apply to the powershell 7 console version.
This Command: Find-Package -ProviderName NuGet Will simply not find any packages if I use an admin console of version 5.1,but when I use powershell console version 7 I do Not need admin right , it will still find the packs , no oddities when using the -verbose option.
Also the sourcepath for nuget is still there:
PS I:\Windows_Scripting> get-packagesource Name ProviderName IsTrusted Location---- ------------ --------- --------chocolatey Chocolatey False http://chocolatey.org/api/v2/nuget.org NuGet False https://api.nuget.org/v3/index.jsonPSGallery PowerShellGet False https://www.powershellgallery.com/api/v2
I do not know what happened , I can remember this still to work last night … I think xD
Some help/advise would appreciated.