Partner-Center-PowerShell
Partner-Center-PowerShell copied to clipboard
Module does not install
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
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.
Trying to install also .. mine is just hanging .. powershell 7.0.3
Working for me now.