8,330 questions
Unable to find module providers PowerShellGet on Windows10 machine
Lohit, Ambati
0
Reputation points
Hi Team,
I removed the AzureRM modules from my PowerShell, but they were not uninstalled correctly. Consequently, I manually deleted these modules from the PowerShell Modules folder. Afterward, I attempted to install the modules, but I encountered an issue preventing me from installing the Az modules. The error message is as follows
PS C:\Users\amlohit> install-module Az
PackageManagement\Install-Package : Unable to find module providers (PowerShellGet).
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
+ ... $null = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (Microsoft.Power....InstallPackage:InstallPack
age) [Install-Package], Exception
+ FullyQualifiedErrorId : UnknownProviders,Microsoft.PowerShell.PackageManagement.Cmdlets
.InstallPackage
Regards,
Lohit Ambati
Windows for business Windows Server User experience PowerShell
Sign in to answer