Skip to content

Latest commit

 

History

History
103 lines (61 loc) · 3.47 KB

File metadata and controls

103 lines (61 loc) · 3.47 KB
Download Help Link https://go.microsoft.com/fwlink/?linkid=2238183
Help Version 3.0.24260
Locale en-US
Module Guid e4e0bda1-0703-44a5-b70d-8fe704cd0643
Module Name Microsoft.PowerShell.PSResourceGet
ms.custom 1.1.1
ms.date 05/28/2025
schema 2.0.0
title Microsoft.PowerShell.PSResourceGet

Microsoft.PowerShell.PSResourceGet Module

Description

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

This documentation covers the latest version Microsoft.PowerShell.PSResourceGet v1.1.1. For a list of differences between versions, see the What's new in PSResourceGet?.

Important

Windows PowerShell 5.1 comes with version 1.0.0.1 of PowerShellGet preinstalled. This version of PowerShellGet has a limited features and doesn't support the updated capabilities of the PowerShell Gallery. To install PSResourceGet, you must first update to the latest version of PowerShellGet. For more information, see Update PowerShellGet for Windows PowerShell 5.1.

Microsoft.PowerShell.PSResourceGet Cmdlets

Compresses a specified folder containing module or script resources into a .nupkg file.

Searches for packages from a repository (local or remote), based on a name or other package properties.

Returns modules and scripts installed on the machine via PowerShellGet.

Finds and returns registered repository information.

Returns the metadata for a script.

Finds the repositories registered with PowerShellGet and registers them for PSResourceGet.

Installs resources from a registered repository.

The cmdlet creates a new script file, including metadata about the script.

Publishes a specified module from the local computer to PSResource repository.

Registers a repository for PowerShell resources.

Saves resources (modules and scripts) from a registered repository onto the machine.

Sets information for a registered repository.

Tests the comment-based metadata in a .ps1 file to ensure it's valid for publication.

Uninstalls a resource that was installed using PowerShellGet.

Removes a registered repository from the local machine.

Updates a module manifest file.

Downloads and installs the newest version of a package already installed on the local machine.

This cmdlet updates the comment-based metadata in an existing script .ps1 file.