Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » PowerShell: How to update PowerShellGet and Package Management
  • Trellix configurations after ePo setup
    ePO Server Settings: Trellix ePO AD integration and ENS Agents Installation Security | Vulnerability Scans and Assessment
  • Package1
    Install Synaptic Package Manager: Handle packages in Ubuntu Linux
  • Slide2 1
    How to deploy WordPress on Azure App Service AWS/Azure/OpenShift
  • hero activedirectory 1
    Active Directory Contact and a User Account Object Differences Security | Vulnerability Scans and Assessment
  • settings app not working featured 800x400 1
    Disable or Remove Kiosk Mode Via the Local Settings Windows
  • Featured image MsTeams.
    How to share an app window on Microsoft Teams Windows
  • the Execute permission was denied
    Fix An error has occurred during report processing (rsProcessingAborted) Oracle/MSSQL/MySQL
  • How to Install Windows Admin Center on Windows 10 11​
    Install Windows Admin Center on Windows 10 and Windows 11 Windows

PowerShell: How to update PowerShellGet and Package Management

Posted on 22/05/202026/09/2023 Christian By Christian No Comments on PowerShell: How to update PowerShellGet and Package Management
PowerShell

PowerShellGet is an open-source project, and both the PowerShellGet and PackageManagement modules are available in the PowerShell Gallery. PowerShellGet is now a repo under github.com/PowerShell. The PackageManagement module is already open-sourced as it is part of the OneGet project.  Check out the new PowerShellGet repo at github.com/PowerShell/PowerShellGet.

PowerShellGet is a PowerShell module with commands for discovering, installing, updating, and publishing the PowerShell artifacts like Modules, DSC Resources, Role Capabilities, and Scripts and can be used to install the Azure PowerShell module or other modules.

Update PowerShellGet and Package Management

PowerShellGet module is also integrated with the PackageManagement module as a provider, users can also use the PowerShell PackageManagement cmdlets for discovering, installing, and updating the PowerShell artifacts like Modules and Scripts. On how to install PowerShell version 7, see https://techdirectarchive.com/2020/05/22/how-to-install-and-update-powershell-version-7-on-windows-and-linux/

Before updating the PowerShellGet or PackageManagement, let us first check the versions of the modules we have available. If you use Update-Module, it will automatically load PowerShellGet and PackageManagement and list them as loaded PowerShell modules.
– Note: You can also use the Get-Module -ListAvailable.

update

As you can see above, we have version 1.0.0.1 PowerShellGet and version 1.0.0.1 Package management running.

In order to update PowerShellGet or PackageManagement, you should always install the latest NuGet provider. To do that, run the following in an elevated PowerShell prompt.

Install-PackageProvider Nuget –force –verbose
PowerShellGet

Note: If you have PowerShell 5.0 or above running. you can install both PowerShellGet and PackageManagement together. To do this on Windows 10, Windows Server 2016, or any system with WMF 5.0 or 5.1 installed, run the following commands from an elevated PowerShell prompt:

Install-Module –Name PowerShellGet –Force –Verbose

Next, If you run PowerShell 5.0 or newer, you can install the latest PowerShellGet using the following command. PowerShell 5.0 is included in Windows 10, Windows Server 2016, Windows Server 2019, any system with WMF 5.0, and 5.1 or a system running PowerShell 6.

Package Management

To get the latest version, the the following command below for this.

Update-Module
Get-Module

After that you will see the latest versions of PowerShellGet and Package Management available.

To permit new modules to run, you will have to set the execution policy to RemoteSigned to allow this. For more on information on execution policy, see
– https://techdirectarchive.com/2020/02/04/how-to-set-execution-policy/
– https://techdirectarchive.com/2020/02/04/how-to-set-the-powershell-execution-policy-via-the-registry-settings/

Set-ExecutionPolicy RemoteSigned

For how to install PowerShell on Windows and Linux, see https://techdirectarchive.com/2020/05/22/how-to-install-and-update-powershell-version-7-on-windows-and-linux/

I hope this blog post was helpful. If you have any questions, please let me know in the comment section.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:Package Management, PowerShell, PowerShell version 7, PowerShellGet, Windows Server 2016

Post navigation

Previous Post: How to install and update PowerShell version 7 on Windows and Linux
Next Post: How to update PowerShell and Package Management via Group Policy Object

Related Posts

  • Manage OU
    Delete or Rename and Create a Protected Organisation Unit in AD Windows Server
  • screenshot 2020 03 13 at 21.22.29
    How to determine Cygwin version Windows Server
  • article 1280x720.192a2586
    How to fix Scheduled task status prompts error 0x800710E0 Windows Server
  • Active Directory migration
    Migrate Active Directory Domain and Forest with Veeam Replica Backup
  • banner
    How to deploy Folder Redirection in Windows Windows
  • Database Connection Stuck on Working on it
    How to fix TeamPass stuck on working on it Network | Monitoring

More Related Articles

Manage OU Delete or Rename and Create a Protected Organisation Unit in AD Windows Server
screenshot 2020 03 13 at 21.22.29 How to determine Cygwin version Windows Server
article 1280x720.192a2586 How to fix Scheduled task status prompts error 0x800710E0 Windows Server
Active Directory migration Migrate Active Directory Domain and Forest with Veeam Replica Backup
banner How to deploy Folder Redirection in Windows Windows
Database Connection Stuck on Working on it How to fix TeamPass stuck on working on it Network | Monitoring

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Trellix configurations after ePo setup
    ePO Server Settings: Trellix ePO AD integration and ENS Agents Installation Security | Vulnerability Scans and Assessment
  • Package1
    Install Synaptic Package Manager: Handle packages in Ubuntu Linux
  • Slide2 1
    How to deploy WordPress on Azure App Service AWS/Azure/OpenShift
  • hero activedirectory 1
    Active Directory Contact and a User Account Object Differences Security | Vulnerability Scans and Assessment
  • settings app not working featured 800x400 1
    Disable or Remove Kiosk Mode Via the Local Settings Windows
  • Featured image MsTeams.
    How to share an app window on Microsoft Teams Windows
  • the Execute permission was denied
    Fix An error has occurred during report processing (rsProcessingAborted) Oracle/MSSQL/MySQL
  • How to Install Windows Admin Center on Windows 10 11​
    Install Windows Admin Center on Windows 10 and Windows 11 Windows

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,839 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.