Partner-Center-PowerShell icon indicating copy to clipboard operation
Partner-Center-PowerShell copied to clipboard

Module does not install

Open TWol1 opened this issue 4 years ago • 3 comments

Steps to reproduce

Open Powershell as admin on Windows 10 Run Install-Module -Name PartnerCenter -AllowClobber -Scope AllUsers

Expected behavior

PartnerCenter Module installs

Actual behavior

WARNING: Unable to resolve package source 'https://www.powershellgallery.com/api/v2'. PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'PartnerCenter'. Try Get-PSRepository to see all available registered module repositories. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21

  • ... $null = PackageManagement\Install-Package @PSBoundParameters
  •                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Ex ception
    • FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

Diagnostic logs

Please share test platform diagnostics logs.
The logs may contain test assembly paths, kindly review and mask those before sharing.

Environment

Windows 10 / 2004

TWol1 avatar Oct 30 '20 15:10 TWol1

I am getting the same thing on two different Windows 10 computers at two different locations. I am also getting the issue on a Server 2012 R2 virtual machine at a third location. Win10_screenshot1 Win10_screenshot2

TitaniumCoder477 avatar Oct 30 '20 16:10 TitaniumCoder477

Trying to install also .. mine is just hanging .. powershell 7.0.3

stephenwheet avatar Oct 30 '20 17:10 stephenwheet

Working for me now.

TitaniumCoder477 avatar Nov 03 '20 15:11 TitaniumCoder477