# Register-PSResourceRepository

*noun*

say it: **“REJ-is-ter PEE-ES REE-sors ri-POZ-i-tor-ee”** **/ˈrɛdʒɪstɚ ˌpiˈɛs ˈrisɔrs rɪˈpɑzɪˌtɔri/**

A PowerShell command that gives a place to publish and install modules from, such as a folder, a name your account remembers.

## What does **Register-PSResourceRepository** do?

A repository is a shelf modules are installed from. The PowerShell Gallery is one, and a plain folder can be one too. `Register-PSResourceRepository` gives a shelf a name, and the registration is saved for your account, so every new window knows it until `Unregister-PSResourceRepository` takes it away.

```powershell
Register-PSResourceRepository -Name PracticeRepo -Uri "$HOME\terminal-practice\practice-repo" -Trusted
Get-PSResourceRepository
```

## In a sentence

- “After **Register-PSResourceRepository**, every new window knew the repository by name.”
- “Sam used **Register-PSResourceRepository** to name the practice folder PracticeRepo.”

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/register-psresourcerepository
