Unable to Find Package Provider NuGet Imported Yet

Website Visitors:

Nuget error

Have you ever tried to install a module through PowerShell? If yes, then you might have read or faced below error: PackageManagement\Get-PackageProvider : Unable to find package provider ‘NuGet imported yet. Try ‘Get-PackageProvider -ListAvailable’


To solve this issue, open elevated PowerShell console and run the below command:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Next install Nuget packageprovider with the below command.

Install-PackageProvider -Name NuGet

Finally, run the install module command with the powershell vendor module you’d like to install. In below example, we are installing latest vmware powercli.

Install-Module -Verbose -Name VMware.PowerCLI

Want to learn more on Citrix Automations and solutions???

Subscribe to get our latest content by email.

If you like our content, please support us by sponsoring on GitHub below: