PowerShell / PSResourceGet

PSResourceGet is the package manager for PowerShell
https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet
MIT License
495 stars 93 forks source link
packagemanagement powershell powershell-module powershellget psresourceget

PSResourceGet

License Documentation - PSResourceGet PowerShell Gallery - PSResourceGet Minimum Supported PowerShell Version

Important Notes

[!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.

Introduction

PSResourceGet is a PowerShell module with commands for discovering, installing, updating and publishing the PowerShell resources like Modules, Scripts, and DSC Resources.

Documentation

Click here to reference the documentation.

Requirements

Install the PSResourceGet module

Contributing Quickstart Guide

Get the source code

Build the project

# 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

Publish the module to a local repository

=======

PS C:\Repos\PSResourceGet> Invoke-Pester
PS C:\Repos\PSResourceGet> Invoke-Pester <file-name>

Import the built module into a new PowerShell session

# 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

Code of Conduct

Please see our Code of Conduct before participating in this project.

Security Policy

For any security issues, please see our Security Policy.