Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

PowerShell: How to update PowerShellGet and Package Management

Posted on 22/05/202006/09/2026 Christian By Christian No Comments on PowerShell: How to update PowerShellGet and Package Management
  1. Home
  2. Windows Server
  3. 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.

PowerShell command output displaying the results of the update-module and get-module commands, listing installed modules and their versions.

To permit new modules to run, you will have to set the execution policy to RemoteSigned to allow this.

Set-ExecutionPolicy RemoteSigned
PowerShell prompt showing the command 'Set-ExecutionPolicy RemoteSigned' and the accompanying security warning about changing the execution policy.

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

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

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

Post navigation

Previous Post: Install and update PowerShell version 7 on Windows and Linux
Next Post: How to update PowerShell and Package Management via GPO

Related Posts

  • update device drivers windows 10 thumbnail
    How to install SCConfigMgr Driver Automation Tool on Windows Windows Server
  • Remote Desktop 2 1
    How to install RDS via Quick Start Deployment: Install, Publish, Update, and Uninstall Remote Desktop Web Client Web Server
  • SystoLOCK Passwordless Authentication
    Protect your Windows Devices with MFA with SystoLOCK Security | Vulnerability Scans and Assessment
  • image 117
    Deploy MVC Application to AWS EC2 Using RDP and Web Deploy Configuration Management Tool
  • Hyper V VM creation
    How to Create a Windows Server VM on HyperV Windows Server
  • Prevent Windows from Saving RDP Connection
    Prevent Windows from Saving RDP Connection History Windows

More Related Articles

banner How to Create a Child and Tree Domain Windows Server
Migrate from SQL Database Migrate Veeam One Database from SQL Server 2017 to 2025 Backup
reboot computer Determine the last boot time of a Windows Server Windows Server
Fix windows Update corruption e1786450279443 How to fix Update Error 0x800f0831 in Windows or Windows Server Windows
Screenshot 2020 07 25 at 13.09.08 Fix the following error occurred when DNS was queried for the service location Windows Server
banner 1 How to use the Program Compatibility Troubleshooter to Test Application Compatibility on Windows 11 Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • copy and paste between host machines and VirtualBox VM
    How to copy and paste between host machines and VirtualBox VM Virtualization
  • Docker Installation on Ubuntu
    Docker Engine Installation on Ubuntu Network | Monitoring
  • Add Hyper V to VRO e1773748172543
    Integrate Hyper-V [SCVMM] with Veeam Recovery Orchestrator Virtualization
  • s3
    How to Copy from a server to s3 and vice versa AWS/Azure/OpenShift
  • image 117
    Deploy MVC Application to AWS EC2 Using RDP and Web Deploy Configuration Management Tool
  • postgresql on windows
    Install PostgreSQL on Windows server as Veeam Database Engine Oracle/MSSQL/MySQL
  • image 35
    How to Activate and Press Ctrl+Alt+Del in Anydesk for Remote Access Connection to Windows system Windows
  • firewall windows 1
    Periodic Scanning: How to schedule Windows Defender Antivirus to scan on Windows 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,746 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

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

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.