← Winnitude! Search  ·  Reader Mode (834 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 108 LINKS

GitHub - PowerShell/PSResourceGet: PSResourceGet is the package manager for PowerShell

Repository navigation

PSResourceGet
Public

About

PSResourceGet is the package manager for PowerShell

www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet

Topics

packagemanagement powershell powershell-module powershellget psresourceget

Resources

Readme MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

581 stars

Watchers

26 watching

Forks

119 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


1,066 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
.ci .ci    
.config .config    
.github .github    
.pipelines .pipelines    
.vscode .vscode    
CHANGELOG CHANGELOG    
Examples Examples    
src src    
test test    
tool tool    
.editorconfig .editorconfig    
.gitattributes .gitattributes    
.gitignore .gitignore    
CHANGELOG.md CHANGELOG.md    
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md    
LICENSE LICENSE    
Notice.txt Notice.txt    
README.md README.md    
SECURITY.md SECURITY.md    
bootstrap.ps1 bootstrap.ps1    
build.ps1 build.ps1    
buildtools.psd1 buildtools.psd1    
buildtools.psm1 buildtools.psm1    
doBuild.ps1 doBuild.ps1    
global.json global.json    
nuget.config nuget.config    
owners.txt owners.txt    
package.config.json package.config.json    

Repository files navigation

PSResourceGet

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 .

  • 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 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 .

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

  • PowerShell 7.6 or higher running on .NET 10. Windows PowerShell is not supported by this build.

Install the PSResourceGet module

  • PSResourceGet is short for the full name Microsoft.PowerShell.PSResourceGet.
  • It's included in PowerShell since v7.4. Please use the PowerShell Gallery to get the latest version of the module.

Contributing Quickstart Guide

Get the source code

  • 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 the project

Note: Please ensure you have the exact version of the .NET SDK installed. The current version can be found in the global.json and installed from the .NET website .

# Build for the net10.0 framework
PS C:\Repos\PSResourceGet> .\build.ps1 -Clean -Build -BuildConfiguration Debug -BuildFramework net10.0

Run functional tests

  • Run all tests
    PS C:\Repos\PSResourceGet> Invoke-Pester
  • Run an individual test
    PS C:\Repos\PSResourceGet> Invoke-Pester <file-name>

Import the built module into a new PowerShell session

# Run in a fresh PowerShell 7.6+ session
C:\> pwsh
C:\> Import-Module C:\Repos\PSResourceGet\out\Microsoft.PowerShell.PSResourceGet\Microsoft.PowerShell.PSResourceGet.psd1

Module Support Lifecycle

Microsoft.PowerShell.PSResourceGet follows the support lifecycle of the version of PowerShell that it ships in. For example, PSResourceGet 1.0.x shipped in PowerShell 7.4 which is an LTS release so it will be supported for 3 years. Preview versions of the module, or versions that ship in preview versions of PowerShell are not supported. Versions of PSResourceGet that do not ship in a version of PowerShell will be fixed forward.

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 .

About

PSResourceGet is the package manager for PowerShell

www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet

Topics

packagemanagement powershell powershell-module powershellget psresourceget

Resources

Readme MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy Activity Custom properties

Stars

581 stars

Watchers

26 watching

Forks

119 forks Report repository

Releases

Packages

Used by

Contributors

Languages