Note
PSResourceGet
is short for the full name of the module, Microsoft.PowerShell.PSResourceGet
. The full name is what is used in PowerShell and when published to the PowerShell Gallery.
- If you were familiar with the PowerShellGet 3.0 project, we renamed the module to be PSResourceGet, for more information please read this blog.
- If you would like to open a PR please open an issue first so that necessary discussion can take place.
- Please open an issue for any feature requests, bug reports, or questions for PSResourceGet.
- See the Contributing Quickstart Guide section.
- Please note, the repository for PowerShellGet v2 is available at PowerShell/PowerShellGetv2.
- The repository for the PowerShellGet v3, the compatibility layer between PowerShellGet v2 and PSResourceGet, is available at PowerShell/PowerShellGet.
PSResourceGet is a PowerShell module with commands for discovering, installing, updating and publishing the PowerShell resources like Modules, Scripts, and DSC Resources.
Click here to reference the documentation.
- PowerShell 5.0 or higher.
PSResourceGet
is short for the full nameMicrosoft.PowerShell.PSResourceGet
.- It's included in PowerShell since v7.4. Please use the PowerShell Gallery to get the latest version of the module.
- Download the latest source code from the release page (https://github.com/PowerShell/PSResourceGet/releases) OR clone the repository using git.
PS > cd 'C:\Repos' PS C:\Repos> git clone https://github.com/PowerShell/PSResourceGet
- Navigate to the local repository directory
PS C:\> cd c:\Repos\PSResourceGet PS C:\Repos\PSResourceGet>
# Build for the net472 framework
PS C:\Repos\PSResourceGet> .\build.ps1 -Clean -Build -BuildConfiguration Debug -BuildFramework net472
# Build for the netstandard2.0 framework
PS C:\Repos\PSResourceGet> .\build.ps1 -Clean -Build -BuildConfiguration Debug -BuildFramework netstandard2.0
=======
- Run functional tests
PS C:\Repos\PSResourceGet> Invoke-Pester
PS C:\Repos\PSResourceGet> Invoke-Pester <file-name>
# If running PowerShell 6+
C:\> pwsh
C:\> Import-Module C:\Repos\PSResourceGet\out\PSResourceGet
# If running Windows PowerShell
c:\> PowerShell
C:\> Import-Module C:\Repos\PSResourceGet\out\PSResourceGet\PSResourceGet.psd1
Please see our Code of Conduct before participating in this project.
For any security issues, please see our Security Policy.