11---
22description : This article explains the purpose and history of PowerShellGet
3- ms.date : 12/04/2023
4- title : The PowerShellGet module
3+ ms.date : 01/17/2024
4+ title : Package management for PowerShell
55---
6- # The PowerShellGet module
6+ # Package management for PowerShell
77
8- The ** PowerShellGet** module contains cmdlets for discovering, installing, updating, and publishing
9- PowerShell packages from the [ PowerShell Gallery] [ 01 ] . These packages can contain artifacts such as
10- Modules, DSC Resources, and Scripts.
8+ Microsoft provides three package management tools for PowerShell:
9+
10+ - The ** PowerShellGet** and ** PackageManagement** modules - shipped originally in Windows PowerShell
11+ 5.0
12+ - The ** Microsoft.PowerShell.PSResourceGet** module - shipped originally in PowerShell 7.4.0
13+ - The ** NuGet** module used by the Package Manager Console of Visual Studio
14+
15+ This documentation covers the ** PowerShellGet** , ** PackageManagement** , and
16+ ** Microsoft.PowerShell.PSResourceGet** modules. These modules contain cmdlets for discovering,
17+ installing, updating, and publishing PowerShell packages from the [ PowerShell Gallery] [ 04 ] . These
18+ packages can contain artifacts such as Modules, DSC Resources, and Scripts. The
19+ ** Microsoft.PowerShell.PSResourceGet** module replaces ** PowerShellGet** and ** PackageManagement** .
20+
21+ > [ !NOTE]
22+ > The ** NuGet** module contains cmdlets for discovering and installing packages from the NuGet
23+ > Gallery for use with Visual Studio projects. For information about the ** NuGet** module, see the
24+ > [ NuGet module] [ 01 ] reference in the Visual Studio documentation.
1125
1226Supported versions:
1327
1428- Current release
15- - ** Microsoft.PowerShell.PSResourceGet** 1.0.1
29+ - ** Microsoft.PowerShell.PSResourceGet** 1.0.1 - a standalone module that doesn't depend on the
30+ ** PowerShellGet** or ** PackageManagement** modules
1631 - ** PowerShellGet** 2.2.5 with ** PackageManagement** 1.4.8.1
1732- Preview release
18- - ** PowerShellGet** 3.0.23-beta23
19-
20- > [ !IMPORTANT]
21- > The ** PowerShellGet** module is being replaced by ** Microsoft.PowerShell.PSResourceGet** .
22- > ** PowerShellGet** 3.0.22-beta23 is a compatibility module that contains proxy cmdlets that call
23- > the new cmdlets in ** Microsoft.PowerShell.PSResourceGet** . The proxy cmdlets allow you to continue
24- > to use the old cmdlet names in your scripts while you transition to the new cmdlets.
33+ - ** PowerShellGet** 3.0.23-beta23 - a compatibility module that contains proxy cmdlets that call
34+ the new cmdlets in ** Microsoft.PowerShell.PSResourceGet** . The proxy cmdlets allow you to
35+ continue to use the old cmdlet names in your scripts while you transition to the new cmdlets.
2536
2637## Version history
2738
2839For best results, use the latest version of the ** Microsoft.PowerShell.PSResourceGet** module.
2940
30- - ** PowerShell 7.4.0** ships with ** Microsoft.PowerShell.PSResourceGet** 1.0.1.
31-
32- > [ !NOTE]
33- > ** Microsoft.PowerShell.PSResourceGet** is a standalone module and no longer depends on the
34- > ** PackageManagement** module.
35-
41+ - ** PowerShell 7.4.0** ships with ** Microsoft.PowerShell.PSResourceGet** 1.0.1, ** PowerShellGet**
42+ 2.2.5, and ** PackageManagement** 1.4.8.1
3643- ** PowerShell 7.0.4** , ** PowerShell 7.1.1** , and higher shipped with ** PowerShellGet** 2.2.5 and
3744 ** PackageManagement** 1.4.7.
3845- ** PowerShell 7.0.0** shipped with ** PowerShellGet** 2.2.3 and ** PackageManagement** 1.4.6.
@@ -43,17 +50,18 @@ For best results, use the latest version of the **Microsoft.PowerShell.PSResourc
4350 > [ !IMPORTANT]
4451 > The 1.0.0.1 version of PowerShellGet has limited features and must be updated to work properly
4552 > with the PowerShell Gallery. To be supported, you must update to the latest version. For upgrade
46- > instructions, see [ Update PowerShellGet for Windows PowerShell 5.1] [ 03 ] .
53+ > instructions, see [ Update PowerShellGet for Windows PowerShell 5.1] [ 06 ] .
4754
4855## See also
4956
50- - [ Install PowerShellGet] [ 02 ]
51- - [ PowerShellGet] [ 04 ] cmdlet reference
52- - [ Microsoft.PowerShell.PSResourceGet] [ 05 ] cmdlet reference
57+ - [ Install PowerShellGet] [ 05 ]
58+ - [ PowerShellGet] [ 03 ] cmdlet reference
59+ - [ Microsoft.PowerShell.PSResourceGet] [ 02 ] cmdlet reference
5360
5461<!-- link references -->
55- [ 01 ] : https://www.powershellgallery.com
56- [ 02 ] : install-powershellget.md
57- [ 03 ] : update-powershell-51.md
58- [ 04 ] : /powershell/module/powershellget
59- [ 05 ] : /powershell/module/microsoft.powershell.psresourceget
62+ [ 01 ] : /nuget/reference/powershell-reference
63+ [ 02 ] : /powershell/module/microsoft.powershell.psresourceget
64+ [ 03 ] : /powershell/module/powershellget
65+ [ 04 ] : https://www.powershellgallery.com
66+ [ 05 ] : install-powershellget.md
67+ [ 06 ] : update-powershell-51.md
0 commit comments