From 180716da80473fa045947edf90b29791429e36e0 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Wed, 10 Dec 2025 16:07:53 -0600 Subject: [PATCH 1/5] Update docs for PSResourceGet v1.2.0-preview5 --- ...redential-provider-with-azure-artifacts.md | 62 ++++++++++ .../docs-conceptual/powershellget/overview.md | 13 +- .../psresourceget-release-notes.md | 61 ++++++++- .../powershellget/supported-repositories.md | 36 +++--- .../docs-conceptual/powershellget/toc.yml | 2 + .../About/about_PSResourceGet.md | 3 +- .../Compress-PSResource.md | 7 +- .../Find-PSResource.md | 7 +- .../Get-InstalledPSResource.md | 10 +- .../Get-PSResourceRepository.md | 7 +- .../Get-PSScriptFileInfo.md | 7 +- .../Import-PSGetRepository.md | 7 +- .../Install-PSResource.md | 7 +- .../Microsoft.PowerShell.PSResourceGet.md | 14 ++- .../New-PSScriptFileInfo.md | 7 +- .../Publish-PSResource.md | 20 ++- .../Register-PSResourceRepository.md | 37 +++++- .../Reset-PSResourceRepository.md | 116 ++++++++++++++++++ .../Save-PSResource.md | 7 +- .../Set-PSResourceRepository.md | 34 ++++- .../Test-PSScriptFileInfo.md | 7 +- .../Uninstall-PSResource.md | 9 +- .../Unregister-PSResourceRepository.md | 7 +- .../Update-PSModuleManifest.md | 7 +- .../Update-PSResource.md | 7 +- .../Update-PSScriptFileInfo.md | 7 +- 26 files changed, 407 insertions(+), 101 deletions(-) create mode 100644 powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md create mode 100644 powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md diff --git a/powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md b/powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md new file mode 100644 index 0000000..ae35238 --- /dev/null +++ b/powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md @@ -0,0 +1,62 @@ +--- +description: This article describes how PSResourceGet integrates with the Azure Artifacts Credential Provider with ADO feeds. +ms.date: 12/10/2025 +ms.topic: reference +title: Use the Azure Artifacts Credential Provider with Azure Artifacts feeds +--- + +# Use the Azure Artifacts Credential Provider with Azure Artifacts feeds + +PSResourceGet v1.2.0-preview5 adds support for using the Azure Artifacts Credential Provider with +Azure Artifacts feeds. + +The `Register-PSResourceRepository` and `Set-PSResourceRepository` cmdlets have a new dynamic +parameter `-CredentialProvider` that allows you to configure the **CredentialProvider** property of +a **PSResourceRepository**. This dynamic parameter only works with repositories that aren't +**ContainerRegistry** repositories or the **PSGallery** repository. + +The PSResourceGet automatically sets the value **CredentialProvider** to `AzArtifacts` when the URI +contains `pkgs.dev.azure.com` or `pkgs.visualstudio.com`. This check is done when registering a new +repository or when PSResourceGet reads the registered repositories. + +The Credential Provider can be bypassed by setting the `-CredentialProvider` parameter to `None`. + +## How it works + +PSResourceGet looks for the credential provider any time network credentials are set in the +following priority order: + +1. Credentials passed in via **Credential** parameter. +1. Credentials retrieved via the Azure Artifacts Credential Provider. +1. Credentials retrieved from SecretManagement. + +If the **CredentialProvider** property of a repository is set to `AzArtifacts`, PSResourceGet +attempts to find the Credential Provider file on the machine in the following order: + +1. Checking the environment variable `NUGET_PLUGIN_PATHS` +1. Checking the default locations: `$env:USERPROFILE\.nuget\plugins` +1. Checking the location where Visual Studio is installed: + `common7\IDE\CommonExtensions\Microsoft\NuGet` + +For more information about the discovery process, see _Convention-based discovery_ section of +[NuGet cross platfor plugins][01]. + +After locating the Credential Provider, PSResourceGet uses one of the following commands to call the +provider: + +- `CredentialProvider.Microsoft.exe -Uri -NonInteractive -IsRetry -F Json` +- `dotnet CredentialProvider.Microsoft.dll -Uri -NonInteractive -IsRetry -F Json` + +`CredentialProvider.Microsoft.exe` is used on Windows machines, while `dotnet` work on all supported +platforms + +## Dependencies + +For this feature to work, the Azure Artifacts Credential Provider must be installed on the machine. +The provider might already be available if you have Visual Studio or the .NET SDK installed. For +more information about installing the Azure Artifacts Credential Provider, see the [README][02] file +in the GitHub repository for the Azure Artifacts Credential Provider. + + +[01]: /nuget/reference/extensibility/nuget-cross-platform-plugins#convention-based-discovery +[02]: https://github.com/microsoft/artifacts-credprovider/blob/master/README.md diff --git a/powershell-gallery/docs-conceptual/powershellget/overview.md b/powershell-gallery/docs-conceptual/powershellget/overview.md index 466d604..c834017 100644 --- a/powershell-gallery/docs-conceptual/powershellget/overview.md +++ b/powershell-gallery/docs-conceptual/powershellget/overview.md @@ -32,16 +32,14 @@ Supported versions: **PowerShellGet** or **PackageManagement** modules - **PowerShellGet** 2.2.5 with **PackageManagement** 1.4.8.1 - Preview releases - - **Microsoft.PowerShell.PSResourceGet** 1.1.0-rc2 - adds `Compress-PSResource` to create `.nupkg` - files, the ability to publish `.nupkg` files, and support configuration Group Policy. - - **PowerShellGet** 3.0.23-beta23 - a compatibility module that contains proxy cmdlets that call - the new cmdlets in **Microsoft.PowerShell.PSResourceGet**. The proxy cmdlets allow you to - continue to use the old cmdlet names in your scripts while you transition to the new cmdlets. + - **Microsoft.PowerShell.PSResourceGet** 1.2.0-preview5 - adds many new features. For more + information, see [What's new in PSResourceGet][06] in the GitHub repository. ## Version history For best results, use the latest version of the **Microsoft.PowerShell.PSResourceGet** module. +- **Microsoft.PowerShell.PSResourceGet** v1.2.0-preview5 - shipped in **PowerShell 7.6-preview.6** - **Microsoft.PowerShell.PSResourceGet** v1.1.1 - shipped in **PowerShell 7.6-preview.4** - **Microsoft.PowerShell.PSResourceGet** v1.1.0 - shipped in **PowerShell 7.5.0** - **Microsoft.PowerShell.PSResourceGet** 1.0.6 - released to the PowerShell Gallery on 10-Oct-2024 @@ -60,7 +58,7 @@ For best results, use the latest version of the **Microsoft.PowerShell.PSResourc > [!IMPORTANT] > The 1.0.0.1 version of PowerShellGet has limited features and must be updated to work properly > with the PowerShell Gallery. To be supported, you must update to the latest version. For upgrade - > instructions, see [Update PowerShellGet for Windows PowerShell 5.1][06]. + > instructions, see [Update PowerShellGet for Windows PowerShell 5.1][07]. ## See also @@ -74,4 +72,5 @@ For best results, use the latest version of the **Microsoft.PowerShell.PSResourc [03]: /powershell/module/powershellget [04]: https://www.powershellgallery.com [05]: install-powershellget.md -[06]: update-powershell-51.md +[06]: psresourceget-release-notes.md +[07]: update-powershell-51.md diff --git a/powershell-gallery/docs-conceptual/powershellget/psresourceget-release-notes.md b/powershell-gallery/docs-conceptual/powershellget/psresourceget-release-notes.md index 3f6623e..5b71150 100644 --- a/powershell-gallery/docs-conceptual/powershellget/psresourceget-release-notes.md +++ b/powershell-gallery/docs-conceptual/powershellget/psresourceget-release-notes.md @@ -1,10 +1,10 @@ --- description: This article contains release notes for the PSResourceGet module. -ms.date: 03/21/2025 +ms.date: 12/10/2025 ms.topic: release-notes -title: What's new in PSResourceGet? +title: What's new in PSResourceGet --- -# What's new in PSResourceGet? +# What's new in PSResourceGet This is a summary of changes to the **Microsoft.PowerShell.PSResourceGet** module. For a more complete list of changes, see the [CHANGELOG][01] in the GitHub repository. @@ -13,6 +13,11 @@ complete list of changes, see the [CHANGELOG][01] in the GitHub repository. ## Release history +- v1.2.0-preview5 - Preview release - shipped in PowerShell 7.6.0-preview.6 +- v1.2.0-preview4 - Preview release - released to the PowerShell Gallery only +- v1.2.0-preview3 - Preview release - released to the PowerShell Gallery only +- v1.2.0-preview2 - Preview release - released to the PowerShell Gallery only +- v1.2.0-preview1 - Preview release - released to the PowerShell Gallery only - v1.1.0 - Current release - released to the PowerShell Gallery - v1.1.0 - shipped in PowerShell 7.5.0 and PowerShell 7.6.0-preview.1 - v1.1.0-rc3 - Preview release - released to the PowerShell Gallery only @@ -31,6 +36,54 @@ complete list of changes, see the [CHANGELOG][01] in the GitHub repository. ## Release notes +### 1.2.0-preview5 - 2025-12-05 + +- Add `Reset-PSResourceRepository` cmdlet to recover from corrupted repository store +- Improve performance of `ContainerRegistry` repositories by caching token +- Fix to ensure `Update-PSResource` doesn't reinstall dependency packages that are already installed +- Fix to retrieve non-anonymous access token when publishing to ACR +- Fix to filter out path separators when passing in package names as a parameter for any cmdlet +- Fix to respect `TrustRepository` parameter when using `-RequiredResource` with + `Install-PSResource` +- Fix bug with 'PSModuleInfo' property deserialization when validating module manifest +- Fix to prevent users from setting ApiVersion to 'Unknown' in `Set-PSResourceRepository` and + `Register-PSResourceRepository` + +### 1.2.0-preview4 - 2025-11-04 + +- Add cmdlet aliases: `gres`, `usres`, and `svres` +- Add warning when AuthenticodeCheck is used on non-Windows platforms +- Fix typos in several files +- Fix MAR fails to parse RequiredVersion for dependencies +- Fix `Get-InstalledPSResource -Path` don't throw if no subdirectories were found +- Fix to handle boolean correctly in RequiredResourceFile for prerelease key +- Fix `Compress-PSResource` to stop ignoring `.gitkeep` and other (hidden) dotfiles +- Fix broken Install-PSResource test with warning condition incorrect +- Fix `Uninstall-PSResource` shouldn't fail silently when resource wasn't found or prerelease + criteria not met +- Fix `Uninstall-PSResource` should delete subdirectories without Access Denied error on OneDrive + +### 1.2.0-preview3 - 2025-09-12 + +- Improve user agent string and PowerShell version discovery +- Update `-ModulePrefix` to be a static parameter +- Fix MCR catalog truncation +- Fix population of `#Requires` fields in `Update-PSScriptFileInfo` +- Fix population of `Includes` metadata for packages from container registry repositories +- Fix for `Find-PSResource` and `Install-PSResource` to allow finding of unlisted packages + +### 1.2.0-preview2 - 2025-07-21 + +- Add integration of the Azure Artifacts Credential Provider for ADO feeds +- Fix for NuGet v3 dependencies +- Fix for temporary installation path failure when installing PSResources on Linux machines + +### 1.2.0-preview1 - 2025-06-26 + +- Add dependency support for PSResources in v3 repositories +- Wildcard attribute added to `-Repository` parameter of `Install-PSResource` +- Improvements in `ContainerRegistry` repositories in listing repository catalog + ### v1.1.1 - 2025-03-06 - Retrieve all metadata properties when finding a **PSResource** from a **ContainerRegistry** @@ -76,7 +129,7 @@ complete list of changes, see the [CHANGELOG][01] in the GitHub repository. repository system. - Added `-Nupkg` parameter to `Publish-PSResource` to publish a `.nupkg` file to a repository. - Added `-ModulePrefix` parameter for `Publish-PSResource`, which adds a prefix to a module name for - container registry repositories. This is only used for publishing and is not part of metadata. + container registry repositories. This is only used for publishing and isn't part of metadata. - Improved error messages for Authenticode failures. - Construct Prerelease string for repositories that don't return the prerelease information. - Added retry logic when deleting files. diff --git a/powershell-gallery/docs-conceptual/powershellget/supported-repositories.md b/powershell-gallery/docs-conceptual/powershellget/supported-repositories.md index 8730b25..eaa8532 100644 --- a/powershell-gallery/docs-conceptual/powershellget/supported-repositories.md +++ b/powershell-gallery/docs-conceptual/powershellget/supported-repositories.md @@ -1,6 +1,6 @@ --- description: This article lists the repositories that have been tested with PowerShellGet v3 and how to configure them. -ms.date: 05/22/2025 +ms.date: 12/10/2025 ms.topic: reference title: Supported repository configurations --- @@ -103,6 +103,9 @@ credentials to search, download, or install packages from an Azure Artifacts pub artifacts or access private feeds, you must have an account and an API key. For more information about getting an API key, see [Connect to feed as a PowerShell repository][05]. +PSResourceGet v1.2.0-preview5 adds support for the Azure Artifacts Credential Provider. For more +information, see [Use the Azure Artifacts Credential Provider with Azure Artifacts feeds][12]. + ### Azure Artifacts limitations The **Microsoft.PowerShell.PSResourceGet** module doesn't support the following scenarios for @@ -216,7 +219,7 @@ support publishing packages. GitHub Packages is a software package hosting service that allows you to host your software packages privately or publicly and use packages as dependencies in your projects. For more information, see -[Introduction to GitHub Packages][13]. +[Introduction to GitHub Packages][14]. The GitHub Packages feed is a NuGet repository that uses the NuGet v3 protocol. The feed URI has the following format: `https://nuget.pkg.github.com//index.json`. Replace `` with @@ -235,7 +238,7 @@ The Github Packages service doesn't support NuGet feeds that are scoped to a rep must be associated with a user account or organization. You must use credentials for all operations with a GitHub Packages feed. For more information, see -the _Authenticating to GitHub Packages_ section of [Working with the NuGet registry][14]. +the _Authenticating to GitHub Packages_ section of [Working with the NuGet registry][15]. ### GitHub Packages limitations @@ -260,7 +263,7 @@ GitHub Packages repositories: You can use either the **Credential** or **ApiKey** parameter of the `Publish-PSResource` cmdlet to publish packages to a GitHub Package feed. You must create a personal access token (PAT) with the necessary scopes enabled. For more information on scopes and permissions, see -[About permissions for GitHub Packages][12]. +[About permissions for GitHub Packages][13]. If you use the **Credential** parameter, the value must be a **PSCredential** object that contains your username and the PAT. For this example `` is the token you created for @@ -295,7 +298,7 @@ Publish-PSResource @publishPSResourceSplat ## JFrog Artifactory -[JFrog Artifactory][16] is a hosting service for NuGet repositories. Artifactory feeds use the NuGet +[JFrog Artifactory][17] is a hosting service for NuGet repositories. Artifactory feeds use the NuGet v3 protocol. The feed URI has the following format: `https://.jfrog.io/artifactory/api/nuget/v3/nuget/index.json`. @@ -312,7 +315,7 @@ Register-PSResourceRepository @params ``` You must use credentials for all operations with a JFrog Artifactory feed. For more information, see -[Creating Access Tokens in Artifactory][17]. +[Creating Access Tokens in Artifactory][18]. ### JFrog Artifactory limitations @@ -355,7 +358,7 @@ is your email address associated with your JFrog account. ## MyGet.org -[MyGet.org][18] is a hosting service for NuGet repositories. +[MyGet.org][19] is a hosting service for NuGet repositories. The **Microsoft.PowerShell.PSResourceGet** module supports MyGet feeds that use the NuGet v3 protocol. The feed URI has the following format: @@ -375,7 +378,7 @@ Register-PSResourceRepository @params MyGet allows you to create public or private feeds. You don't need credentials to search, download, or install packages from a public MyGet feed. To publish artifacts or access private feeds, you must -have an account and an API key. For more information about, see [MyGet Security][15]. +have an account and an API key. For more information about, see [MyGet Security][16]. ### MyGet limitations @@ -397,7 +400,7 @@ repositories: You must use the **ApiKey** parameter of the `Publish-PSResource` cmdlet with personal access token (PAT) to publish packages to a MyGet feed. The value of the **ApiKey** parameter must be a plaintext PAT from your MyGet account that has read and write permissions. For more information about creating -access tokens, see [MyGet Security][15]. +access tokens, see [MyGet Security][16]. For example: @@ -504,10 +507,11 @@ Publish-PSResource @publishPSResourceSplat [09]: /powershell/utility-modules/secretmanagement/overview [10]: /windows-server/storage/file-server/smb-security [11]: how-to/use-acr-repository.md -[12]: https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#about-scopes-and-permissions-for-package-registries -[13]: https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages -[14]: https://docs.github.com/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry#authenticating-to-github-packages -[15]: https://docs.myget.org/docs/reference/security -[16]: https://jfrog.com/artifactory/ -[17]: https://jfrog.com/help/r/how-to-generate-an-access-token-video/artifactory-creating-access-tokens-in-artifactory -[18]: https://www.myget.org/ +[12]: how-to/use-credential-provider-with-azure-artifacts.md +[13]: https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#about-scopes-and-permissions-for-package-registries +[14]: https://docs.github.com/packages/learn-github-packages/introduction-to-github-packages +[15]: https://docs.github.com/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry#authenticating-to-github-packages +[16]: https://docs.myget.org/docs/reference/security +[17]: https://jfrog.com/artifactory/ +[18]: https://jfrog.com/help/r/how-to-generate-an-access-token-video/artifactory-creating-access-tokens-in-artifactory +[19]: https://www.myget.org/ diff --git a/powershell-gallery/docs-conceptual/powershellget/toc.yml b/powershell-gallery/docs-conceptual/powershellget/toc.yml index 77ac9d2..e0084e2 100644 --- a/powershell-gallery/docs-conceptual/powershellget/toc.yml +++ b/powershell-gallery/docs-conceptual/powershellget/toc.yml @@ -13,6 +13,8 @@ items: href: how-to/credential-persistence.md - name: Use ACR repositories with PSResourceGet href: how-to/use-acr-repository.md + - name: Use the Azure Artifacts Credential Provider with Azure Artifacts feeds + href: how-to/use-credential-provider-with-azure-artifacts.md - name: PSResourceGet supported repositories href: supported-repositories.md - name: PSResourceGet release notes diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/About/about_PSResourceGet.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/About/about_PSResourceGet.md index 6e75f74..a0c8432 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/About/about_PSResourceGet.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/About/about_PSResourceGet.md @@ -11,7 +11,7 @@ title: about PSResourceGet ## Short description -Describes how to use version 1.1.1 of the +Describes how to use version 1.2.0-preview5 of the **Microsoft.PowerShell.PSResourceGet** module. ## Long description @@ -57,6 +57,7 @@ v3 and their v2 equivalents. | `Publish-PSResource` | `Publish-Module` | | `Publish-PSResource` | `Publish-Script` | | `Register-PSResourceRepository` | `Register-PSRepository` | +| `Reset-PSResourceRepository` | n/a | | `Save-PSResource` | `Save-Module` | | `Save-PSResource` | `Save-Script` | | `Set-PSResourceRepository` | `Set-PSRepository` | diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Compress-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Compress-PSResource.md index d5067b0..2e20792 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Compress-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Compress-PSResource.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/compress-psresource?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Compress-PSResource ## SYNOPSIS @@ -27,7 +26,7 @@ file. isolates the pack feature in the `Publish-PSResource` cmdlet. This allows `.nupkg` file before publishing it to a repository. You can publish the final `.nupkg` file using the **NupkgPath** parameter of `Publish-PSResource`. -This command was added in v1.1.0-preview2 of **Microsoft.PowerShell.PSResourceGet**. +This command was added in v1.1.0 of **Microsoft.PowerShell.PSResourceGet**. ## EXAMPLES diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Find-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Find-PSResource.md index 41c4c96..f9ea405 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Find-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Find-PSResource.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/find-psresource?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Find-PSResource ## SYNOPSIS @@ -408,3 +407,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable The module defines `fdres` as an alias for `Find-PSResource`. ## RELATED LINKS + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-InstalledPSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-InstalledPSResource.md index 0506d11..9cbee5d 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-InstalledPSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-InstalledPSResource.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/get-installedpsresource?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Get-InstalledPSResource ## SYNOPSIS @@ -224,6 +223,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -The module defines `Get-PSResource` as an alias for `Get-InstalledPSResource`. +The module defines the following aliases for `Get-InstalledPSResource`: + +- `Get-PSResource` +- `gres` ## RELATED LINKS diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSResourceRepository.md index 405b9b7..667441c 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSResourceRepository.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/get-psresourcerepository?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Get-PSResourceRepository ## SYNOPSIS @@ -123,3 +122,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSScriptFileInfo.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSScriptFileInfo.md index 9fb1940..bc302e3 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSScriptFileInfo.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSScriptFileInfo.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/get-psscriptfileinfo?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Get-PSScriptFileInfo ## SYNOPSIS @@ -88,3 +87,5 @@ ignored by `Get-PSScriptFileInfo` and `Publish-PSResource`. [Update-PSScriptFileInfo](Update-PSScriptFileInfo.md) [Test-PSScriptFileInfo](Test-PSScriptFileInfo.md) + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Import-PSGetRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Import-PSGetRepository.md index 299954b..6479998 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Import-PSGetRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Import-PSGetRepository.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/import-psgetrepository?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Import-PSGetRepository ## SYNOPSIS @@ -161,3 +160,5 @@ PowerShellGet v2. ## RELATED LINKS [Register-PSResourceRepository](Register-PSResourceRepository.md) + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Install-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Install-PSResource.md index 58b0df2..009589e 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Install-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Install-PSResource.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 03/17/2025 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/install-psresource?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Install-PSResource ## SYNOPSIS @@ -534,3 +533,5 @@ the JSON object is stored in a `.json` file. For more information, see [Package versioning](/nuget/concepts/package-versioning#version-ranges) [Uninstall-PSResource](Uninstall-PSResource.md) + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md index f500882..fcd25d8 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md @@ -4,8 +4,8 @@ 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 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 schema: 2.0.0 title: Microsoft.PowerShell.PSResourceGet --- @@ -16,8 +16,8 @@ title: Microsoft.PowerShell.PSResourceGet 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 +This documentation covers the latest version **Microsoft.PowerShell.PSResourceGet** v1.2.0-preview5 +For a list of differences between versions, see the [What's new in PSResourceGet?](/powershell/gallery/powershellget/psresourceget-release-notes). > [!IMPORTANT] @@ -69,6 +69,10 @@ Publishes a specified module from the local computer to PSResource repository. Registers a repository for PowerShell resources. +### Reset-PSResourceRepository + +Creates a new default `PSRepositories.xml` file with PSGallery registered. + ### [Save-PSResource](Save-PSResource.md) Saves resources (modules and scripts) from a registered repository onto the machine. @@ -101,3 +105,5 @@ Downloads and installs the newest version of a package already installed on the This cmdlet updates the comment-based metadata in an existing script `.ps1` file. + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/New-PSScriptFileInfo.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/New-PSScriptFileInfo.md index a70089b..d955a79 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/New-PSScriptFileInfo.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/New-PSScriptFileInfo.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/new-psscriptfileinfo?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # New-PSScriptFileInfo ## SYNOPSIS @@ -483,3 +482,5 @@ ignored by `Get-PSScriptFileInfo` and `Publish-PSResource`. [PowerShellGallery Publishing Guidelines and Best Practices](/powershell/scripting/gallery/concepts/publishing-guidelines) [Package manifest values that impact the PowerShell Gallery UI](/powershell/scripting/gallery/concepts/package-manifest-affecting-ui) + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Publish-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Publish-PSResource.md index 097f1f7..2372cfd 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Publish-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Publish-PSResource.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 05/14/2025 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/publish-psresource?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Publish-PSResource ## SYNOPSIS @@ -20,8 +19,8 @@ Publishes a specified module from the local computer to PSResource repository. ``` Publish-PSResource [-ApiKey ] [-Repository ] [-Path] [-DestinationPath ] [-Credential ] [-SkipDependenciesCheck] - [-SkipModuleManifestValidate] [-Proxy ] [-ProxyCredential ] [-WhatIf] - [-Confirm] [] + [-SkipModuleManifestValidate] [-Proxy ] [-ProxyCredential ] + [-ModulePrefix ] [-WhatIf] [-Confirm] [] ``` ### NupkgPathParameterSet @@ -29,7 +28,8 @@ Publish-PSResource [-ApiKey ] [-Repository ] [-Path] ``` Publish-PSResource [-ApiKey ] [-Repository ] [-DestinationPath ] [-Credential ] [-SkipDependenciesCheck] [-SkipModuleManifestValidate] [-Proxy ] - [-ProxyCredential ] -NupkgPath [-WhatIf] [-Confirm] [] + [-ProxyCredential ] -NupkgPath [-ModulePrefix ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -120,15 +120,11 @@ Accept wildcard characters: False ### -ModulePrefix -This is a dynamic parameter that's only available on the command line when you have supplied the -**Path** or **Nupkg** parameters and the **Repository** parameter for a `ContainerRegistry` -repository. - The value of the parameter is pre-pended to the package name. This information is only used for publishing and isn't included in the package metadata. The module prefix controls the visibility of the module, for example: `internal`, `public`, `staging`. -This parameter is only used when publishing to the Microsoft Artifact Registry (MAR). +This parameter is only intended to be used when publishing to the Microsoft Artifact Registry (MAR). ```yaml Type: System.String @@ -317,3 +313,5 @@ for dependencies. ## RELATED LINKS [Compress-PSResource](Compress-PSResource.md) + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md index 161d0b0..74be230 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/register-psresourcerepository?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Register-PSResourceRepository ## SYNOPSIS @@ -20,7 +19,7 @@ Registers a repository for PowerShell resources. ``` Register-PSResourceRepository [-Name] [-Uri] [-Trusted] [-Priority ] [-ApiVersion ] [-CredentialInfo ] [-PassThru] [-Force] - [-WhatIf] [-Confirm] [] + [-CredentialProvider ] [-WhatIf] [-Confirm] [] ``` ### PSGalleryParameterSet @@ -169,7 +168,7 @@ parameter allows you to change the API version after you have registered a repos Type: Microsoft.PowerShell.PSResourceGet.UtilClasses.PSRepositoryInfo+APIVersion Parameter Sets: NameParameterSet Aliases: -Accepted values: Unknown, V2, V3, Local, NugetServer, ContainerRegistry +Accepted values: V2, V3, Local, NugetServer, ContainerRegistry Required: False Position: Named @@ -195,6 +194,32 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -CredentialProvider + +This is a dynamic parameter that specifies the credential provider to use for the repository. This +parameter is only available when the repository being registered is an Azure Artifacts feed. Valid +values are: + +- `None` - No credential provider defined +- `AzArtifacts` - Use the Azure Artifacts Credential Provider + +If you don't use this parameter, the default value is `None`. If the repository URL contains +`pkgs.dev.azure.com` or `pkgs.visualstudio.com`, the command automatically registers the repository +with the **CredentialProvider** property set to `AzArtifacts`. + +```yaml +Type: Microsoft.PowerShell.PSResourceGet.UtilClasses.CredentialProviderType +Parameter Sets: NameParameterSet +Accepted values: None, AzArtifacts +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Force Overwrites a repository if it already exists. @@ -394,3 +419,5 @@ an error. ## RELATED LINKS [Microsoft.PowerShell.SecretManagement](/powershell/utility-modules/secretmanagement/overview) + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md new file mode 100644 index 0000000..c767fce --- /dev/null +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md @@ -0,0 +1,116 @@ +--- +external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml +Module Name: Microsoft.PowerShell.PSResourceGet +online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/reset-psresourcerepository?view=powershellget-3.x&WT.mc_id=ps-gethelp +ms.date: 12/10/2025 +schema: 2.0.0 +ms.custom: 1.2.0-p5 +--- +# Reset-PSResourceRepository + +## SYNOPSIS + +Creates a new default `PSRepositories.xml` file with PSGallery registered. + +## SYNTAX + +``` +Reset-PSResourceRepository [-PassThru] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION + +This command resets the repository store by creating a store file with PSGallery registered. First +it creates a new temporary file and only replaces the old file if creation succeeds. If creation +fails, the old file is restored. + +Use this command to replace a corrupted repository store or to restore the default repository +configuration. + +This command was added in Microsoft.PowerShell.PSResourceGet v1.2.0-preview5. + +## EXAMPLES + +### Example 1 - Reset the repository store and display the results + +```powershell +Reset-PSResourceRepository -PassThru +``` + +```Output +Name Uri Trusted Priority IsAllowedByPolicy +---- --- ------- -------- ----------------- +PSGallery https://www.powershellgallery.com/api/v2 True 50 True +``` + +## PARAMETERS + +### -PassThru + +By default, the command does not generate any output. When specified, the command displays the +results of the reset operation. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm + +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf + +Shows what would happen if the cmdlet runs. The cmdlet isn't run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters + +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, +-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, +-WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### None + +## OUTPUTS + +### Microsoft.PowerShell.PSResourceGet.UtilClasses.PSRepositoryInfo + +## NOTES + +## RELATED LINKS + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Save-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Save-PSResource.md index d34a7ab..7f8d1d2 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Save-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Save-PSResource.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/save-psresource?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Save-PSResource ## SYNOPSIS @@ -431,4 +430,6 @@ cmdlet outputs a **PSResourceInfo** object for the saved resource. ## NOTES +The module defines `svres` as an alias for `Save-PSResource`. + ## RELATED LINKS diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md index 05cf754..6ae300d 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/set-psresourcerepository?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Set-PSResourceRepository ## SYNOPSIS @@ -19,8 +18,8 @@ Sets information for a registered repository. ``` Set-PSResourceRepository [-Name] [-Uri ] [-Trusted] [-Priority ] - [-ApiVersion ] [-CredentialInfo ] [-PassThru] [-WhatIf] [-Confirm] - [] + [-ApiVersion ] [-CredentialInfo ] [-PassThru] + [-CredentialProvider ] [-WhatIf] [-Confirm] [] ``` ### RepositoriesParameterSet @@ -167,7 +166,7 @@ parameter allows you to change the API version after you have registered a repos Type: Microsoft.PowerShell.PSResourceGet.UtilClasses.PSRepositoryInfo+APIVersion Parameter Sets: NameParameterSet Aliases: -Accepted values: V2, V3, Local, NugetServer, ContainerRegistry +Accepted values: V2, V3, Local, NugetServer, ContainerRegistry Required: False Position: Named @@ -193,6 +192,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -CredentialProvider + +This is a dynamic parameter that specifies the credential provider to use for the repository. This +parameter is only available when the named repository is an Azure Artifacts feed. Valid values are: + +- `None` - No credential provider defined +- `AzArtifacts` - Use the Azure Artifacts Credential Provider + +```yaml +Type: Microsoft.PowerShell.PSResourceGet.UtilClasses.CredentialProviderType +Parameter Sets: NameParameterSet +Accepted values: None, AzArtifacts +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Specifies the name of the repository to be modified. @@ -360,3 +380,5 @@ returns a **PSRepositoryInfo** object. ## RELATED LINKS [Microsoft.PowerShell.SecretManagement](/powershell/utility-modules/secretmanagement/overview) + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Test-PSScriptFileInfo.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Test-PSScriptFileInfo.md index b0716e1..72f7df7 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Test-PSScriptFileInfo.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Test-PSScriptFileInfo.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/test-psscriptfileinfo?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Test-PSScriptFileInfo ## SYNOPSIS @@ -140,3 +139,5 @@ ignored by `Get-PSScriptFileInfo` and `Publish-PSResource`. [New-PSScriptFileInfo](New-PSScriptFileInfo.md) [Update-PSScriptFileInfo](Update-PSScriptFileInfo.md) + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Uninstall-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Uninstall-PSResource.md index 7bca3d8..7642a6c 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Uninstall-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Uninstall-PSResource.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/uninstall-psresource?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Uninstall-PSResource ## SYNOPSIS @@ -259,8 +258,12 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES +The module defines `usres` as an alias for `Uninstall-PSResource`. + ## RELATED LINKS [Package versioning](/nuget/concepts/package-versioning#version-ranges) [Install-PSResource](Install-PSResource.md) + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Unregister-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Unregister-PSResourceRepository.md index 776e44c..ce02953 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Unregister-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Unregister-PSResourceRepository.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/unregister-psresourcerepository?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Unregister-PSResourceRepository ## SYNOPSIS @@ -171,3 +170,5 @@ cmdlet outputs a **PSRepositoryInfo** object for each repository that's removed. ## RELATED LINKS [Register-PSResourceRepository](Register-PSResourceRepository.md) + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSModuleManifest.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSModuleManifest.md index c88c630..b6d18a2 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSModuleManifest.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSModuleManifest.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/update-psmodulemanifest?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Update-PSModuleManifest ## SYNOPSIS @@ -792,6 +791,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES +The module defines `udres` as an alias for `Update-PSResource`. + For a full description of the module manifest file, see [about_Module_Manifests](/powershell/module/microsoft.powershell.core/about/about_module_manifests). diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSResource.md index 6800687..a255eb0 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSResource.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/update-psresource?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Update-PSResource ## SYNOPSIS @@ -380,3 +379,5 @@ The module defines `udres` as an alias for `Update-PSResource`. ## RELATED LINKS [Install-PSResource](Install-PSResource.md) + + diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSScriptFileInfo.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSScriptFileInfo.md index 248b8af..d66b5f9 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSScriptFileInfo.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSScriptFileInfo.md @@ -1,12 +1,11 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.1.1 -ms.date: 10/31/2024 +ms.custom: 1.2.0-p5 +ms.date: 12/10/2025 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/update-psscriptfileinfo?view=powershellget-3.x&WT.mc_id=ps-gethelp schema: 2.0.0 --- - # Update-PSScriptFileInfo ## SYNOPSIS @@ -426,3 +425,5 @@ ignored by `Get-PSScriptFileInfo` and `Publish-PSResource`. [PowerShellGallery Publishing Guidelines and Best Practices](/powershell/scripting/gallery/concepts/publishing-guidelines) [Package manifest values that impact the PowerShell Gallery UI](/powershell/scripting/gallery/concepts/package-manifest-affecting-ui) + + From 4d38ea0c305f6214bb85f1702e5e081927bfa684 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Thu, 11 Dec 2025 09:40:51 -0600 Subject: [PATCH 2/5] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../how-to/use-credential-provider-with-azure-artifacts.md | 6 +++--- .../Microsoft.PowerShell.PSResourceGet.md | 2 +- .../Update-PSModuleManifest.md | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md b/powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md index ae35238..d9598c2 100644 --- a/powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md +++ b/powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md @@ -15,7 +15,7 @@ parameter `-CredentialProvider` that allows you to configure the **CredentialPro a **PSResourceRepository**. This dynamic parameter only works with repositories that aren't **ContainerRegistry** repositories or the **PSGallery** repository. -The PSResourceGet automatically sets the value **CredentialProvider** to `AzArtifacts` when the URI +PSResourceGet automatically sets the value **CredentialProvider** to `AzArtifacts` when the URI contains `pkgs.dev.azure.com` or `pkgs.visualstudio.com`. This check is done when registering a new repository or when PSResourceGet reads the registered repositories. @@ -39,7 +39,7 @@ attempts to find the Credential Provider file on the machine in the following or `common7\IDE\CommonExtensions\Microsoft\NuGet` For more information about the discovery process, see _Convention-based discovery_ section of -[NuGet cross platfor plugins][01]. +[NuGet cross platform plugins][01]. After locating the Credential Provider, PSResourceGet uses one of the following commands to call the provider: @@ -47,7 +47,7 @@ provider: - `CredentialProvider.Microsoft.exe -Uri -NonInteractive -IsRetry -F Json` - `dotnet CredentialProvider.Microsoft.dll -Uri -NonInteractive -IsRetry -F Json` -`CredentialProvider.Microsoft.exe` is used on Windows machines, while `dotnet` work on all supported +`CredentialProvider.Microsoft.exe` is used on Windows machines, while `dotnet` works on all supported platforms ## Dependencies diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md index fcd25d8..54ead83 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md @@ -17,7 +17,7 @@ PSResourceGet is a module with commands for discovering, installing, updating an PowerShell artifacts like Modules, DSC Resources, Role Capabilities, and Scripts. This documentation covers the latest version **Microsoft.PowerShell.PSResourceGet** v1.2.0-preview5 -For a list of differences between versions, see the +For a list of differences between versions, see [What's new in PSResourceGet?](/powershell/gallery/powershellget/psresourceget-release-notes). > [!IMPORTANT] diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSModuleManifest.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSModuleManifest.md index b6d18a2..b558f66 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSModuleManifest.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSModuleManifest.md @@ -791,7 +791,6 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES -The module defines `udres` as an alias for `Update-PSResource`. For a full description of the module manifest file, see [about_Module_Manifests](/powershell/module/microsoft.powershell.core/about/about_module_manifests). From 39789d38ed86dafd6f99d35cd02b3674ffe75412 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Thu, 11 Dec 2025 09:46:12 -0600 Subject: [PATCH 3/5] Fix build error --- .../Microsoft.PowerShell.PSResourceGet.md | 2 +- .../Reset-PSResourceRepository.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md index 54ead83..ef59b82 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md @@ -69,7 +69,7 @@ Publishes a specified module from the local computer to PSResource repository. Registers a repository for PowerShell resources. -### Reset-PSResourceRepository +### [Reset-PSResourceRepository](Reset-PSResourceRepository.md) Creates a new default `PSRepositories.xml` file with PSGallery registered. diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md index c767fce..da22d45 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md @@ -5,6 +5,7 @@ online version: https://learn.microsoft.com/powershell/module/microsoft.powershe ms.date: 12/10/2025 schema: 2.0.0 ms.custom: 1.2.0-p5 +title: Reset-PSResourceRepository --- # Reset-PSResourceRepository From 6592b11f88d60942c89a9408fce6c1b66dcc6c0e Mon Sep 17 00:00:00 2001 From: Mikey Lombardi Date: Thu, 11 Dec 2025 09:49:36 -0600 Subject: [PATCH 4/5] (MAINT) Trim trailing newlines in reference content --- .../Microsoft.PowerShell.PSResourceGet/Find-PSResource.md | 2 -- .../Get-PSResourceRepository.md | 2 -- .../Microsoft.PowerShell.PSResourceGet/Get-PSScriptFileInfo.md | 2 -- .../Import-PSGetRepository.md | 2 -- .../Microsoft.PowerShell.PSResourceGet/Install-PSResource.md | 2 -- .../Microsoft.PowerShell.PSResourceGet.md | 3 --- .../Microsoft.PowerShell.PSResourceGet/New-PSScriptFileInfo.md | 2 -- .../Microsoft.PowerShell.PSResourceGet/Publish-PSResource.md | 2 -- .../Register-PSResourceRepository.md | 2 -- .../Reset-PSResourceRepository.md | 2 -- .../Set-PSResourceRepository.md | 2 -- .../Test-PSScriptFileInfo.md | 2 -- .../Microsoft.PowerShell.PSResourceGet/Uninstall-PSResource.md | 2 -- .../Unregister-PSResourceRepository.md | 2 -- .../Microsoft.PowerShell.PSResourceGet/Update-PSResource.md | 2 -- .../Update-PSScriptFileInfo.md | 2 -- 16 files changed, 33 deletions(-) diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Find-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Find-PSResource.md index f9ea405..3b9c47e 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Find-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Find-PSResource.md @@ -407,5 +407,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable The module defines `fdres` as an alias for `Find-PSResource`. ## RELATED LINKS - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSResourceRepository.md index 667441c..7d67ff7 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSResourceRepository.md @@ -122,5 +122,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSScriptFileInfo.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSScriptFileInfo.md index bc302e3..1572bc4 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSScriptFileInfo.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSScriptFileInfo.md @@ -87,5 +87,3 @@ ignored by `Get-PSScriptFileInfo` and `Publish-PSResource`. [Update-PSScriptFileInfo](Update-PSScriptFileInfo.md) [Test-PSScriptFileInfo](Test-PSScriptFileInfo.md) - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Import-PSGetRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Import-PSGetRepository.md index 6479998..1b717e2 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Import-PSGetRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Import-PSGetRepository.md @@ -160,5 +160,3 @@ PowerShellGet v2. ## RELATED LINKS [Register-PSResourceRepository](Register-PSResourceRepository.md) - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Install-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Install-PSResource.md index 009589e..3aea959 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Install-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Install-PSResource.md @@ -533,5 +533,3 @@ the JSON object is stored in a `.json` file. For more information, see [Package versioning](/nuget/concepts/package-versioning#version-ranges) [Uninstall-PSResource](Uninstall-PSResource.md) - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md index ef59b82..f13afdf 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md @@ -104,6 +104,3 @@ Downloads and installs the newest version of a package already installed on the ### [Update-PSScriptFileInfo](Update-PSScriptFileInfo.md) This cmdlet updates the comment-based metadata in an existing script `.ps1` file. - - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/New-PSScriptFileInfo.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/New-PSScriptFileInfo.md index d955a79..23361af 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/New-PSScriptFileInfo.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/New-PSScriptFileInfo.md @@ -482,5 +482,3 @@ ignored by `Get-PSScriptFileInfo` and `Publish-PSResource`. [PowerShellGallery Publishing Guidelines and Best Practices](/powershell/scripting/gallery/concepts/publishing-guidelines) [Package manifest values that impact the PowerShell Gallery UI](/powershell/scripting/gallery/concepts/package-manifest-affecting-ui) - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Publish-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Publish-PSResource.md index 2372cfd..5253dda 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Publish-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Publish-PSResource.md @@ -313,5 +313,3 @@ for dependencies. ## RELATED LINKS [Compress-PSResource](Compress-PSResource.md) - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md index 74be230..7070faa 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Register-PSResourceRepository.md @@ -419,5 +419,3 @@ an error. ## RELATED LINKS [Microsoft.PowerShell.SecretManagement](/powershell/utility-modules/secretmanagement/overview) - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md index da22d45..c0442dc 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Reset-PSResourceRepository.md @@ -113,5 +113,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES ## RELATED LINKS - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md index 6ae300d..50a214e 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Set-PSResourceRepository.md @@ -380,5 +380,3 @@ returns a **PSRepositoryInfo** object. ## RELATED LINKS [Microsoft.PowerShell.SecretManagement](/powershell/utility-modules/secretmanagement/overview) - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Test-PSScriptFileInfo.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Test-PSScriptFileInfo.md index 72f7df7..c01a6dc 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Test-PSScriptFileInfo.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Test-PSScriptFileInfo.md @@ -139,5 +139,3 @@ ignored by `Get-PSScriptFileInfo` and `Publish-PSResource`. [New-PSScriptFileInfo](New-PSScriptFileInfo.md) [Update-PSScriptFileInfo](Update-PSScriptFileInfo.md) - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Uninstall-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Uninstall-PSResource.md index 7642a6c..d065b36 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Uninstall-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Uninstall-PSResource.md @@ -265,5 +265,3 @@ The module defines `usres` as an alias for `Uninstall-PSResource`. [Package versioning](/nuget/concepts/package-versioning#version-ranges) [Install-PSResource](Install-PSResource.md) - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Unregister-PSResourceRepository.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Unregister-PSResourceRepository.md index ce02953..15817f8 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Unregister-PSResourceRepository.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Unregister-PSResourceRepository.md @@ -170,5 +170,3 @@ cmdlet outputs a **PSRepositoryInfo** object for each repository that's removed. ## RELATED LINKS [Register-PSResourceRepository](Register-PSResourceRepository.md) - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSResource.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSResource.md index a255eb0..1498298 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSResource.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSResource.md @@ -379,5 +379,3 @@ The module defines `udres` as an alias for `Update-PSResource`. ## RELATED LINKS [Install-PSResource](Install-PSResource.md) - - diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSScriptFileInfo.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSScriptFileInfo.md index d66b5f9..bf99585 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSScriptFileInfo.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Update-PSScriptFileInfo.md @@ -425,5 +425,3 @@ ignored by `Get-PSScriptFileInfo` and `Publish-PSResource`. [PowerShellGallery Publishing Guidelines and Best Practices](/powershell/scripting/gallery/concepts/publishing-guidelines) [Package manifest values that impact the PowerShell Gallery UI](/powershell/scripting/gallery/concepts/package-manifest-affecting-ui) - - From 28a0231c98675997d4f2b55efae6a62fd2678d1c Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Thu, 11 Dec 2025 09:57:18 -0600 Subject: [PATCH 5/5] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../how-to/use-credential-provider-with-azure-artifacts.md | 2 +- .../Microsoft.PowerShell.PSResourceGet.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md b/powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md index d9598c2..e7c5926 100644 --- a/powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md +++ b/powershell-gallery/docs-conceptual/powershellget/how-to/use-credential-provider-with-azure-artifacts.md @@ -48,7 +48,7 @@ provider: - `dotnet CredentialProvider.Microsoft.dll -Uri -NonInteractive -IsRetry -F Json` `CredentialProvider.Microsoft.exe` is used on Windows machines, while `dotnet` works on all supported -platforms +platforms. ## Dependencies diff --git a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md index f13afdf..10f94cc 100644 --- a/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md +++ b/powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md @@ -16,7 +16,7 @@ title: Microsoft.PowerShell.PSResourceGet 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.2.0-preview5 +This documentation covers the latest version **Microsoft.PowerShell.PSResourceGet** v1.2.0-preview5. For a list of differences between versions, see [What's new in PSResourceGet?](/powershell/gallery/powershellget/psresourceget-release-notes).