# Publish-PSResource

*noun*

say it: **“PUB-lish PEE-ES REE-sors”** **/ˈpʌblɪʃ ˌpiˈɛs ˈrisɔrs/**

A PowerShell command that packs a module into a versioned package file and puts it in a repository, so others can find and install it.

## What does **Publish-PSResource** do?

`Publish-PSResource` takes a module's folder, its manifest, README and LICENSE included, packs it into one `.nupkg` file named after the module and its version, and puts it on a repository's shelf. From there, anyone who has registered that repository can find it and install it.

```powershell
Publish-PSResource -Path .\PlaylistTools -Repository PracticeRepo
Find-PSResource -Name PlaylistTools -Repository PracticeRepo   # PlaylistTools 1.1.0
```

## In a sentence

- “Before **Publish-PSResource**, Sam raised the version to 1.1.0.”
- “**Publish-PSResource** made PlaylistTools.1.1.0.nupkg in the practice repository.”

Level: Freelancer · [More PowerShell terms at this level](https://www.ask-codey.com/glossary?category=powershell&level=4)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/publish-psresource
