A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/powershell/gallery/powershellget/update-powershell-51 below:

Update PowerShellGet for Windows PowerShell 5.1 - PowerShell

Windows PowerShell 5.1 comes with version 1.0.0.1 of the PowerShellGet and PackageManagement preinstalled. This version of PowerShellGet has a limited features and must be updated to work with the PowerShell Gallery. To be supported, you must update to the latest version.

Prerequisites Installing the latest version of PowerShellGet

The PowerShellGet module includes cmdlets to install and update modules:

To update the preinstalled module you must use Install-Module. After you have installed the new version from the PowerShell Gallery, you can use Update-Module to install newer releases.

Windows PowerShell 5.1 comes with PowerShellGet version 1.0.0.1, which doesn't include the NuGet provider. The provider is required by PowerShellGet when working with the PowerShell Gallery.

Note

The following commands must be run from an elevated PowerShell session. Right-click the PowerShell icon and choose Run as administrator to start an elevated session.

There are two ways to install the NuGet provider:

After installing PowerShellGet

After you have installed the new version of PowerShellGet, you should open a new PowerShell session. PowerShell automatically loads the newest version of the module when you use a PowerShellGet cmdlet.

We also recommend that you register the PowerShell Gallery as a trusted repository. Use the following command:

Set-PSRepository -Name PSGallery -InstallationPolicy Trusted

For more information, see Set-PSRepository.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4