Powershell Gallery Errors

Welcome Forums General PowerShell Q&A Powershell Gallery Errors

Viewing 3 reply threads
  • Author
    Posts
    • #43933
      Participant
      Topics: 2
      Replies: 2
      Points: 0
      Rank: Member

      Hello,

      I am experiencing errors when trying to use the Powershell Gallery. Running

      prompts me to install the NuGet provider. I end up with following errors:

      When I run

      I get the following error:

      Is there a proper way to manually reinstall NuGet and/or PowerShellGet modules? The $psversiontable shows:

      PSVersion 5.0.10586.122
      PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
      BuildVersion 10.0.10586.122
      CLRVersion 4.0.30319.42000
      WSManStackVersion 3.0
      PSRemotingProtocolVersion 2.3
      SerializationVersion 1.1.0.1

      Thanks!

    • #43938
      Member
      Topics: 9
      Replies: 2322
      Points: 0
      Rank: Member

      PowerShellGet should be on your system already, installed with PSv5 along with PackageManagement.

      Nuget gets bootstrapped from the internet. You can run this command to force it:

    • #44273
      Participant
      Topics: 2
      Replies: 2
      Points: 0
      Rank: Member

      Hi Dave,

      Thanks for the reply. When I try the above cmdlet you gave me, I receive the following error:

      No results are returned by running

      Could I possibly be having issues with modules in the different profile locations? I have the following modules available:

    • #44326
      Member
      Topics: 9
      Replies: 2322
      Points: 0
      Rank: Member

      That does seem to be a lot of versions of both PackageManagement and OneGet. Not sure what to make of it.

Viewing 3 reply threads
  • The topic ‘Powershell Gallery Errors’ is closed to new replies.