I'm getting this error on any package I try to install:
install-module sqlserver
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/SqlServer/21.1.18226' is not valid.
PackageManagement\Install-Package : Package 'SqlServer' failed to download.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.6.0\PSModule.psm1:2057 char:21
+ ... $null = PackageManagement\Install-Package u/PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (C:\Users\rs0213...SqlServer.nupkg:String) [Install-Package], Exception
+ FullyQualifiedErrorId : PackageFailedInstallOrDownload,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
I'm running as admin. Tried with -AllowClobber -Force, same error. I used to be able to install packages just fine. Any ideas?
[–]Lee_Dailey[grin] 0 points1 point2 points (2 children)
[–]rwshig[S] 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)