diff --git a/powershell-gallery/docs-conceptual/powershellget/overview.md b/powershell-gallery/docs-conceptual/powershellget/overview.md index 5cbd423..572bdbc 100644 --- a/powershell-gallery/docs-conceptual/powershellget/overview.md +++ b/powershell-gallery/docs-conceptual/powershellget/overview.md @@ -1,6 +1,6 @@ --- description: This article explains the purpose and history of PowerShellGet. -ms.date: 01/26/2026 +ms.date: 05/20/2026 ms.topic: overview title: Package management for PowerShell --- @@ -8,57 +8,53 @@ title: Package management for PowerShell Microsoft provides three package management tools for PowerShell: -- The **Microsoft.PowerShell.PSResourceGet** module - shipped originally in PowerShell 7.4.0 -- The **PowerShellGet** and **PackageManagement** modules - shipped originally in Windows PowerShell +- The Microsoft.PowerShell.PSResourceGet module - shipped originally in PowerShell 7.4.0 +- The PowerShellGet and PackageManagement modules - shipped originally in Windows PowerShell 5.0 -- The **NuGet** module used by the Package Manager Console of Visual Studio +- The NuGet module used by the Package Manager Console of Visual Studio -This documentation covers the **PowerShellGet**, **PackageManagement**, and -**Microsoft.PowerShell.PSResourceGet** modules. These modules contain cmdlets for discovering, +This documentation covers the PowerShellGet, PackageManagement, and +Microsoft.PowerShell.PSResourceGet modules. These modules contain cmdlets for discovering, installing, updating, and publishing PowerShell packages from the [PowerShell Gallery][04]. These packages can contain artifacts such as Modules, DSC Resources, and Scripts. The -**Microsoft.PowerShell.PSResourceGet** module replaces the **PowerShellGet** and -**PackageManagement** modules. +Microsoft.PowerShell.PSResourceGet module replaces the PowerShellGet and PackageManagement modules. > [!NOTE] -> The **NuGet** module contains cmdlets for discovering and installing packages from the NuGet -> Gallery for use with Visual Studio projects. For information about the **NuGet** module, see the +> The NuGet module contains cmdlets for discovering and installing packages from the NuGet Gallery +> for use with Visual Studio projects. For information about the NuGet module, see the > [NuGet module][01] reference in the Visual Studio documentation. Supported versions: - Current releases - - **Microsoft.PowerShell.PSResourceGet** 1.1.1 - a standalone module that doesn't depend on the - **PowerShellGet** or **PackageManagement** modules - - **PowerShellGet** 2.2.5 with **PackageManagement** 1.4.8.1 + - Microsoft.PowerShell.PSResourceGet 1.2.0 - a standalone module that doesn't depend on the + PowerShellGet or PackageManagement modules + - PowerShellGet 2.2.5 with PackageManagement 1.4.8.1 - Preview releases - - **Microsoft.PowerShell.PSResourceGet** 1.2.0-preview5 - adds many new features. For more + - Microsoft.PowerShell.PSResourceGet 1.3.0-preview1 - 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. -For best results, use the latest version of the **Microsoft.PowerShell.PSResourceGet** module. +> [!IMPORTANT] +> The 1.0.0.1 version of PowerShellGet that ships in Windows PowerShell 5.1 is no longer supported. +> To be supported, you must update to the latest version. For more information, see +> [Install a package manager for PowerShell][05]. -- **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 -- **Microsoft.PowerShell.PSResourceGet** 1.0.5 - shipped in **PowerShell 7.5-preview.3** -- **Microsoft.PowerShell.PSResourceGet** 1.0.4.1 - shipped in **PowerShell 7.4.2** -- **Microsoft.PowerShell.PSResourceGet** 1.0.2 - released to the PowerShell Gallery on 06-Feb-2024 -- **PowerShell 7.4.0** ships with **Microsoft.PowerShell.PSResourceGet** 1.0.1, **PowerShellGet** - 2.2.5, and **PackageManagement** 1.4.8.1 -- **PowerShell 7.0.4**, **PowerShell 7.1.1**, and higher shipped with **PowerShellGet** 2.2.5 and - **PackageManagement** 1.4.7. -- **PowerShell 7.0.0** shipped with **PowerShellGet** 2.2.3 and **PackageManagement** 1.4.6. -- **PowerShell 6.0.0** shipped with **PowerShellGet** 1.6.0 and **PackageManagement** 1.1.7. -- **Windows PowerShell 5.1** comes with version 1.0.0.1 of **PowerShellGet** and - **PackageManagement** preinstalled. +## Enhanced support for the Microsoft Artifact Registry - > [!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 more - > information, see [Install a package manager for PowerShell][05]. +Support for the Microsoft Artifact Registry was added in Microsoft.PowerShell.PSResourceGet v1.1.0. +Beginning with Microsoft.PowerShell.PSResourceGet v1.3.0-preview1, the Microsoft Artifact Registry +is a default repository alongside the PSGallery repository. Use the following command to register +the Microsoft Artifact Registry repository with the default settings: + +```powershell +Register-PSResourceRepository -MicrosoftArtifactRegistry +``` + +By default, the Microsoft Artifact Registry repository is registered as a Trusted repository with a +higher priority than the PSGallery repository. For more information, see +[Register-PSResourceRepository][07]. ## See also @@ -73,3 +69,4 @@ For best results, use the latest version of the **Microsoft.PowerShell.PSResourc [04]: https://www.powershellgallery.com [05]: install-powershellget.md [06]: psresourceget-release-notes.md +[07]: xref:Microsoft.PowerShell.PSResourceGet.Register-PSResourceRepository diff --git a/powershell-gallery/docs-conceptual/powershellget/psresourceget-release-notes.md b/powershell-gallery/docs-conceptual/powershellget/psresourceget-release-notes.md index e3331d4..b36853c 100644 --- a/powershell-gallery/docs-conceptual/powershellget/psresourceget-release-notes.md +++ b/powershell-gallery/docs-conceptual/powershellget/psresourceget-release-notes.md @@ -1,6 +1,6 @@ --- description: This article contains release notes for the PSResourceGet module. -ms.date: 03/12/2026 +ms.date: 05/20/2026 ms.topic: release-notes title: What's new in PSResourceGet --- @@ -13,6 +13,7 @@ complete list of changes, see the [CHANGELOG][01] in the GitHub repository. ## Release history +- v1.3.0-preview1 - Preview release - released to the PowerShell Gallery only - v1.2.0 - Current release - released to the PowerShell Gallery only - v1.2.0-rc3 - Preview release - shipped in PowerShell 7.6.0-rc1 - v1.2.0-rc2 - Preview release - released to the PowerShell Gallery only @@ -41,6 +42,22 @@ complete list of changes, see the [CHANGELOG][01] in the GitHub repository. ## Release notes +### 1.3.0-preview1 - 2026-05-19 + +New Features + +- Add `MAR` as default registered repository +- Add concurrent (parallel) execution for `Install-PSResource` workflows +- Add DSC V3 resource for PSResourceGet + +Bug fixes and improvements + +- Bump `Azure.Identity` from `1.17.1` to `1.17.2` +- Bump `Azure.Identity` from `1.14.2` to `1.17.1` and remove deprecated + **DefaultAzureCredentialOptions** from constructor +- Fixed the logic to differentiate between Windows PowerShell and PowerShell +- Improved `Update-PSResource` to include local-copy prerelease string when deciding what to update + ### 1.2.0 - 2026-03-11 Initial GA release of PSResourceGet v1.2.0 to the PowerShell Gallery. This release includes all diff --git a/powershell-gallery/docs-conceptual/powershellget/supported-repositories.md b/powershell-gallery/docs-conceptual/powershellget/supported-repositories.md index eaa8532..653cf3d 100644 --- a/powershell-gallery/docs-conceptual/powershellget/supported-repositories.md +++ b/powershell-gallery/docs-conceptual/powershellget/supported-repositories.md @@ -1,15 +1,15 @@ --- description: This article lists the repositories that have been tested with PowerShellGet v3 and how to configure them. -ms.date: 12/10/2025 +ms.date: 05/20/2026 ms.topic: reference title: Supported repository configurations --- # PSResourceGet supported repositories -The **Microsoft.PowerShell.PSResourceGet** module works with NuGet package repositories and local -file stores. In general, the cmdlets should work with any artifact repository that supports the -NuGet protocol. However, not all NuGet repositories support all the features of PSResourceGet. +The Microsoft.PowerShell.PSResourceGet module works with NuGet package repositories and local file +stores. In general, the cmdlets should work with any artifact repository that supports the NuGet +protocol. However, not all NuGet repositories support all the features of PSResourceGet. The following repositories have been tested with PSResourceGet. @@ -24,6 +24,31 @@ information, see [Creating and publishing an item][01]. The PowerShell Gallery supports all the features of PSResourceGet. +## Microsoft Artifact Registry (MAR) + +MAR is a public registry for housing Microsoft's official artifacts, such as container images. MAR +enhances security by ensuring only Microsoft can publish official packages, eliminating risks like +name squatting. It also improves software supply chain integrity by offering greater transparency +and control over artifact provenance. + +Support for the Microsoft Artifact Registry was added in Microsoft.PowerShell.PSResourceGet v1.1.0. +Beginning with Microsoft.PowerShell.PSResourceGet v1.3.0-preview1, the Microsoft Artifact Registry +is a default repository alongside the PSGallery repository. Use the following command to register +the Microsoft Artifact Registry repository with the default settings: + +```powershell +Register-PSResourceRepository -MicrosoftArtifactRegistry +``` + +By default, the Microsoft Artifact Registry repository is registered as a Trusted repository with a +higher priority than the PSGallery repository. For more information, see +[Register-PSResourceRepository][20]. + +### MAR limitations + +The MAR repository has the same limitations as ACR repositories. The MAR is read-only and doesn't +support publishing packages. + ## NuGet.org NuGet.org is a public host of NuGet packages used by millions of .NET and .NET Core developers every @@ -192,29 +217,6 @@ ACR repositories: - Find by DSC resource name - `Find-PSResource -DscResourceName ResourceName -Repository ACRDemoRepo` -## Microsoft Artifact Registry (MAR) - -MAR is a public registry for housing Microsoft's official artifacts, such as container images. MAR -enhances security by ensuring only Microsoft can publish official packages, eliminating risks like -name squatting. It also improves software supply chain integrity by offering greater transparency -and control over artifact provenance. - -Use the following commands to register MAR repository as a PSResource repository. - -```powershell -$mcrUrl = 'https://mcr.microsoft.com' -Register-PSResourceRepository -Name MAR -Uri $mcrUrl -ApiVersion ContainerRegistry -``` - -After you register the repository, you can use it like any other ACR-based repository. - -Support for MAR was added in **Microsoft.PowerShell.PSResourceGet** v1.1.1. - -### MAR limitations - -The MAR repository has the same limitations as ACR repositories. The MAR is read-only and doesn't -support publishing packages. - ## GitHub Packages GitHub Packages is a software package hosting service that allows you to host your software packages @@ -515,3 +517,4 @@ Publish-PSResource @publishPSResourceSplat [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/ +[20]: xref:Microsoft.PowerShell.PSResourceGet.Register-PSResourceRepository 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 2e20792..bd9bdd9 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -15,7 +14,7 @@ Compresses a specified folder containing module or script resources into a `.nup ## SYNTAX ``` -Compress-PSResource [-Path] [-DestinationPath] [-PassThru] +Compress-PSResource [-Path] [-DestinationPath] [-PassThru] [-SkipModuleManifestValidate] [-WhatIf] [-Confirm] [] ``` 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 3b9c47e..49ab386 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -18,23 +17,23 @@ properties. ### NameParameterSet (Default) ``` -Find-PSResource [[-Name] ] [-Type ] [-Version ] [-Prerelease] - [-Tag ] [-Repository ] [-Credential ] [-IncludeDependencies] +Find-PSResource [[-Name] ] [-Type ] [-Version ] [-Prerelease] + [-Tag ] [-Repository ] [-Credential ] [-IncludeDependencies] [] ``` ### CommandNameParameterSet ``` -Find-PSResource [-Prerelease] -CommandName [-Repository ] - [-Credential ] [] +Find-PSResource -CommandName [-Prerelease] [-Repository ] + [-Credential ] [] ``` ### DscResourceNameParameterSet ``` -Find-PSResource [-Prerelease] -DscResourceName [-Repository ] - [-Credential ] [] +Find-PSResource -DscResourceName [-Prerelease] [-Repository ] + [-Credential ] [] ``` ## DESCRIPTION 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 9cbee5d..cad65c8 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -15,7 +14,7 @@ Returns modules and scripts installed on the machine via **PowerShellGet**. ## SYNTAX ``` -Get-InstalledPSResource [[-Name] ] [-Version ] [-Path ] +Get-InstalledPSResource [[-Name] ] [-Version ] [-Path ] [-Scope ] [] ``` 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 3856199..3bad414 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.2.0-p5 ms.date: 03/18/2026 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 @@ -15,7 +14,7 @@ Finds and returns registered repository information. ## SYNTAX ``` -Get-PSResourceRepository [[-Name] ] [] +Get-PSResourceRepository [[-Name] ] [] ``` ## DESCRIPTION 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 1572bc4..f7e246a 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -15,7 +14,7 @@ Returns the metadata for a script. ## SYNTAX ``` -Get-PSScriptFileInfo [-Path] [] +Get-PSScriptFileInfo [-Path] [] ``` ## DESCRIPTION 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 1b717e2..9f35df3 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 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 3aea959..164386c 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -17,8 +16,8 @@ Installs resources from a registered repository. ### NameParameterSet (Default) ``` -Install-PSResource [-Name] [-Version ] [-Prerelease] [-Repository ] - [-Credential ] [-Scope ] [-TemporaryPath ] [-TrustRepository] +Install-PSResource [-Name] [-Version ] [-Prerelease] [-Repository ] + [-Credential ] [-Scope ] [-TemporaryPath ] [-TrustRepository] [-Reinstall] [-Quiet] [-AcceptLicense] [-NoClobber] [-SkipDependencyCheck] [-AuthenticodeCheck] [-PassThru] [-WhatIf] [-Confirm] [] ``` @@ -26,28 +25,26 @@ Install-PSResource [-Name] [-Version ] [-Prerelease] [-Reposi ### InputObjectParameterSet ``` -Install-PSResource [-Repository ] [-Credential ] [-Scope ] - [-TemporaryPath ] [-TrustRepository] [-Reinstall] [-Quiet] [-AcceptLicense] [-NoClobber] - [-SkipDependencyCheck] [-AuthenticodeCheck] [-PassThru] [-InputObject] [-WhatIf] - [-Confirm] [] +Install-PSResource [-InputObject] [-Repository ] + [-Credential ] [-Scope ] [-TemporaryPath ] [-TrustRepository] + [-Reinstall] [-Quiet] [-AcceptLicense] [-NoClobber] [-SkipDependencyCheck] [-AuthenticodeCheck] + [-PassThru] [-WhatIf] [-Confirm] [] ``` ### RequiredResourceFileParameterSet ``` -Install-PSResource [-Credential ] [-Scope ] [-TemporaryPath ] - [-TrustRepository] [-Reinstall] [-Quiet] [-AcceptLicense] [-NoClobber] [-SkipDependencyCheck] - [-AuthenticodeCheck] [-PassThru] -RequiredResourceFile [-WhatIf] [-Confirm] - [] +Install-PSResource -RequiredResourceFile [-Credential ] [-Scope ] + [-TemporaryPath ] [-TrustRepository] [-Reinstall] [-Quiet] [-AcceptLicense] [-NoClobber] + [-SkipDependencyCheck] [-AuthenticodeCheck] [-PassThru] [-WhatIf] [-Confirm] [] ``` ### RequiredResourceParameterSet ``` -Install-PSResource [-Credential ] [-Scope ] [-TemporaryPath ] - [-TrustRepository] [-Reinstall] [-Quiet] [-AcceptLicense] [-NoClobber] [-SkipDependencyCheck] - [-AuthenticodeCheck] [-PassThru] -RequiredResource [-WhatIf] [-Confirm] - [] +Install-PSResource -RequiredResource [-Credential ] [-Scope ] + [-TemporaryPath ] [-TrustRepository] [-Reinstall] [-Quiet] [-AcceptLicense] [-NoClobber] + [-SkipDependencyCheck] [-AuthenticodeCheck] [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION 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 23361af..d96fe43 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -15,11 +14,11 @@ The cmdlet creates a new script file, including metadata about the script. ## SYNTAX ``` -New-PSScriptFileInfo [-Path] [-Version ] [-Author ] -Description - [-Guid ] [-CompanyName ] [-Copyright ] [-RequiredModules ] - [-ExternalModuleDependencies ] [-RequiredScripts ] - [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] - [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PrivateData ] +New-PSScriptFileInfo [-Path] -Description [-Version ] [-Author ] + [-Guid ] [-CompanyName ] [-Copyright ] [-RequiredModules ] + [-ExternalModuleDependencies ] [-RequiredScripts ] + [-ExternalScriptDependencies ] [-Tags ] [-ProjectUri ] + [-LicenseUri ] [-IconUri ] [-ReleaseNotes ] [-PrivateData ] [-Force] [] ``` 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 5253dda..acc24dd 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -17,19 +16,19 @@ Publishes a specified module from the local computer to PSResource repository. ### PathParameterSet ``` -Publish-PSResource [-ApiKey ] [-Repository ] [-Path] - [-DestinationPath ] [-Credential ] [-SkipDependenciesCheck] - [-SkipModuleManifestValidate] [-Proxy ] [-ProxyCredential ] - [-ModulePrefix ] [-WhatIf] [-Confirm] [] +Publish-PSResource [-Path] [-ApiKey ] [-Repository ] + [-DestinationPath ] [-Credential ] [-SkipDependenciesCheck] + [-SkipModuleManifestValidate] [-Proxy ] [-ProxyCredential ] + [-ModulePrefix ] [-WhatIf] [-Confirm] [] ``` ### NupkgPathParameterSet ``` -Publish-PSResource [-ApiKey ] [-Repository ] [-DestinationPath ] - [-Credential ] [-SkipDependenciesCheck] [-SkipModuleManifestValidate] [-Proxy ] - [-ProxyCredential ] -NupkgPath [-ModulePrefix ] [-WhatIf] [-Confirm] - [] +Publish-PSResource -NupkgPath [-ApiKey ] [-Repository ] + [-DestinationPath ] [-Credential ] [-SkipDependenciesCheck] + [-SkipModuleManifestValidate] [-Proxy ] [-ProxyCredential ] + [-ModulePrefix ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION 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 e14d912..892a224 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,8 +1,7 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.2.0-p5 -ms.date: 03/18/2026 +ms.date: 05/20/2026 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 --- @@ -17,22 +16,30 @@ Registers a repository for PowerShell resources. ### NameParameterSet (Default) ``` -Register-PSResourceRepository [-Name] [-Uri] [-Trusted] [-Priority ] - [-ApiVersion ] [-CredentialInfo ] [-PassThru] [-Force] - [-CredentialProvider ] [-WhatIf] [-Confirm] [] +Register-PSResourceRepository [-Name] [-Uri] [-Trusted] [-Priority ] + [-ApiVersion ] [-CredentialInfo ] + [-CredentialProvider ] [-PassThru] [-Force] [-WhatIf] [-Confirm] + [] ``` ### PSGalleryParameterSet ``` -Register-PSResourceRepository [-PSGallery] [-Trusted] [-Priority ] [-PassThru] [-Force] +Register-PSResourceRepository -PSGallery [-Trusted] [-Priority ] [-PassThru] [-Force] [-WhatIf] [-Confirm] [] ``` +### MARParameterSet + +``` +Register-PSResourceRepository -MicrosoftArtifactRegistry [-Trusted] [-Priority ] + [-PassThru] [-Force] [-WhatIf] [-Confirm] [] +``` + ### RepositoriesParameterSet ``` -Register-PSResourceRepository -Repository [-PassThru] [-Force] [-WhatIf] [-Confirm] +Register-PSResourceRepository -Repository [-PassThru] [-Force] [-WhatIf] [-Confirm] [] ``` @@ -236,9 +243,40 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -MicrosoftArtifactRegistry + +When specified, registers the default `MicrosoftArtifactRegistry` repository with the following +settings: + +- `Name` - `MicrosoftArtifactRegistry` +- `Uri` - `https://mcr.microsoft.com/` +- `Trusted` - True +- `Priority` - 40 +- `ApiVersion` - ContainerRegistry + +By default, the `MicrosoftArtifactRegistry` repository is registered as a Trusted repository with a +higher priority than the `PSGallery` repository. + +You can't use this parameter to reset the existing repository. Use `Set-PSResourceRepository` to +change the settings of the existing repository. + +This parameter was added in Microsoft.PowerShell.PSResourceGet v1.3.0-preview1. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: MARParameterSet +Aliases: MAR + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name -Name of the repository to be registered. Can't be `PSGallery`. +Name of the repository to be registered. Can't be `PSGallery` or `MicrosoftArtifactRegistry`. ```yaml Type: System.String @@ -291,7 +329,20 @@ Accept wildcard characters: False ### -PSGallery -When specified, registers **PSGallery** repository. +When specified, registers the default `PSGallery` repository with the following settings: + +- `Name` - `PSGallery` +- `Uri` - `https://www.powershellgallery.com/api/v2` +- `Trusted` - False +- `Priority` - 50 +- `ApiVersion` - V2 + +By default, the `PSGallery` repository is registered as an Untrusted repository with a lower +priority than the `MicrosoftArtifactRegistry` repository. + +You can use this to restore the default registration of the `PSGallery` repository if it has been +removed. You can't use this parameter to reset the existing repository. Use +`Set-PSResourceRepository` to change the settings of the existing repository. ```yaml Type: System.Management.Automation.SwitchParameter @@ -396,9 +447,9 @@ 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). +-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, +-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see +[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216). ## INPUTS 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 7d7b2fd..6a58ca3 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 @@ -1,17 +1,16 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet +ms.date: 05/20/2026 online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/reset-psresourcerepository?view=powershellget-3.x&WT.mc_id=ps-gethelp -ms.date: 03/18/2026 schema: 2.0.0 -ms.custom: 1.2.0-p5 title: Reset-PSResourceRepository --- # Reset-PSResourceRepository ## SYNOPSIS -Creates a new default `PSRepositories.xml` file with PSGallery registered. +Creates a new default `PSRepositories.xml` file with preregistered repositories. ## SYNTAX @@ -21,14 +20,21 @@ 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. +This command resets the repository store by creating a store file with preregistered repositories. +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. +configuration. The default configuration includes the following repositories: -This command was added in Microsoft.PowerShell.PSResourceGet v1.2.0-preview5. +- **MicrosoftArtifactRegistry** (added in v1.3.0-preview1) + - Priority = 40 + - Trusted = True +- **PSGallery** + - Priority = 50 + - Trusted = False + +This command was added in Microsoft.PowerShell.PSResourceGet v1.2.0. ## EXAMPLES @@ -39,16 +45,17 @@ Reset-PSResourceRepository -PassThru ``` ```Output -Name Uri Trusted Priority IsAllowedByPolicy ----- --- ------- -------- ----------------- -PSGallery https://www.powershellgallery.com/api/v2 False 50 True +Name Uri Trusted Priority IsAllowedByPolicy +---- --- ------- -------- ----------------- +MicrosoftArtifactRegistry https://mcr.microsoft.com/ True 40 True +PSGallery https://www.powershellgallery.com/api/v2 False 50 True ``` ## PARAMETERS ### -PassThru -By default, the command does not generate any output. When specified, the command displays the +By default, the command doesn't generate any output. When specified, the command displays the results of the reset operation. ```yaml 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 7f8d1d2..9c4d0c4 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -17,8 +16,8 @@ Saves resources (modules and scripts) from a registered repository onto the mach ### IncludeXmlParameterSet (Default) ``` -Save-PSResource [-Name] [-Version ] [-Prerelease] [-Repository ] - [-Credential ] [-IncludeXml] [-Path ] [-TemporaryPath ] +Save-PSResource [-Name] [-Version ] [-Prerelease] [-Repository ] + [-Credential ] [-IncludeXml] [-Path ] [-TemporaryPath ] [-TrustRepository] [-PassThru] [-SkipDependencyCheck] [-AuthenticodeCheck] [-Quiet] [-AcceptLicense] [-WhatIf] [-Confirm] [] ``` @@ -26,8 +25,8 @@ Save-PSResource [-Name] [-Version ] [-Prerelease] [-Repositor ### AsNupkgParameterSet ``` -Save-PSResource [-Name] [-Version ] [-Prerelease] [-Repository ] - [-Credential ] [-AsNupkg] [-Path ] [-TemporaryPath ] +Save-PSResource [-Name] [-Version ] [-Prerelease] [-Repository ] + [-Credential ] [-AsNupkg] [-Path ] [-TemporaryPath ] [-TrustRepository] [-PassThru] [-SkipDependencyCheck] [-AuthenticodeCheck] [-Quiet] [-AcceptLicense] [-WhatIf] [-Confirm] [] ``` @@ -35,9 +34,9 @@ Save-PSResource [-Name] [-Version ] [-Prerelease] [-Repositor ### InputObjectParameterSet ``` -Save-PSResource [-Repository ] [-Credential ] [-AsNupkg] [-IncludeXml] - [-Path ] [-TemporaryPath ] [-TrustRepository] [-PassThru] - [-InputObject] [-SkipDependencyCheck] [-AuthenticodeCheck] [-Quiet] +Save-PSResource [-InputObject] [-Repository ] + [-Credential ] [-AsNupkg] [-IncludeXml] [-Path ] [-TemporaryPath ] + [-TrustRepository] [-PassThru] [-SkipDependencyCheck] [-AuthenticodeCheck] [-Quiet] [-AcceptLicense] [-WhatIf] [-Confirm] [] ``` 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 89eecc0..34e6dee 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,8 +1,7 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.2.0-p5 -ms.date: 03/18/2026 +ms.date: 05/20/2026 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 --- @@ -17,15 +16,15 @@ Sets information for a registered repository. ### NameParameterSet (Default) ``` -Set-PSResourceRepository [-Name] [-Uri ] [-Trusted] [-Priority ] - [-ApiVersion ] [-CredentialInfo ] [-PassThru] +Set-PSResourceRepository [-Name] [-Uri ] [-Trusted] [-Priority ] + [-ApiVersion ] [-CredentialInfo ] [-PassThru] [-CredentialProvider ] [-WhatIf] [-Confirm] [] ``` ### RepositoriesParameterSet ``` -Set-PSResourceRepository -Repository [-PassThru] [-WhatIf] [-Confirm] +Set-PSResourceRepository -Repository [-PassThru] [-WhatIf] [-Confirm] [] ``` @@ -200,6 +199,10 @@ parameter is only available when the named repository is an Azure Artifacts feed - `None` - No credential provider defined - `AzArtifacts` - Use the Azure Artifacts Credential Provider +> [!NOTE] +> This dynamic parameter isn't available for the default **MicrosoftArtifactRegistry** and +> **PSGallery** repositories. + ```yaml Type: Microsoft.PowerShell.PSResourceGet.UtilClasses.CredentialProviderType Parameter Sets: NameParameterSet 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 c01a6dc..d7c77b2 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -15,7 +14,7 @@ Tests the comment-based metadata in a `.ps1` file to ensure it's valid for publi ## SYNTAX ``` -Test-PSScriptFileInfo [-Path] [] +Test-PSScriptFileInfo [-Path] [] ``` ## DESCRIPTION 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 d065b36..c6b6e5a 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -17,14 +16,14 @@ Uninstalls a resource that was installed using **PowerShellGet**. ### NameParameterSet (Default) ``` -Uninstall-PSResource [-Name] [-Version ] [-Prerelease] [-SkipDependencyCheck] +Uninstall-PSResource [-Name] [-Version ] [-Prerelease] [-SkipDependencyCheck] [-Scope ] [-WhatIf] [-Confirm] [] ``` ### InputObjectParameterSet ``` -Uninstall-PSResource [-Prerelease] [-InputObject] [-SkipDependencyCheck] +Uninstall-PSResource [-InputObject] [-Prerelease] [-SkipDependencyCheck] [-Scope ] [-WhatIf] [-Confirm] [] ``` 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 1fb72ac..6a735aa 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -ms.custom: 1.2.0-p5 ms.date: 03/18/2026 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 @@ -15,7 +14,7 @@ Removes a registered repository from the local machine. ## SYNTAX ``` -Unregister-PSResourceRepository [-Name] [-PassThru] [-WhatIf] [-Confirm] +Unregister-PSResourceRepository [-Name] [-PassThru] [-WhatIf] [-Confirm] [] ``` 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 b558f66..d8df9b0 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -15,19 +14,19 @@ Updates a module manifest file. ## SYNTAX ``` -Update-PSModuleManifest [-Path] [-NestedModules ] [-Guid ] - [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] - [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] - [-CompatiblePSEditions ] [-PowerShellVersion ] [-ClrVersion ] - [-DotNetFrameworkVersion ] [-PowerShellHostName ] - [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] - [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] - [-FileList ] [-ModuleList ] [-FunctionsToExport ] - [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] - [-DscResourcesToExport ] [-Tags ] [-ProjectUri ] [-LicenseUri ] - [-IconUri ] [-ReleaseNotes ] [-Prerelease ] [-HelpInfoUri ] - [-DefaultCommandPrefix ] [-ExternalModuleDependencies ] - [-RequireLicenseAcceptance] [-PrivateData ] [] +Update-PSModuleManifest [-Path] [-NestedModules ] [-Guid ] + [-Author ] [-CompanyName ] [-Copyright ] [-RootModule ] + [-ModuleVersion ] [-Description ] [-ProcessorArchitecture ] + [-CompatiblePSEditions ] [-PowerShellVersion ] [-ClrVersion ] + [-DotNetFrameworkVersion ] [-PowerShellHostName ] + [-PowerShellHostVersion ] [-RequiredModules ] [-TypesToProcess ] + [-FormatsToProcess ] [-ScriptsToProcess ] [-RequiredAssemblies ] + [-FileList ] [-ModuleList ] [-FunctionsToExport ] + [-AliasesToExport ] [-VariablesToExport ] [-CmdletsToExport ] + [-DscResourcesToExport ] [-Tags ] [-ProjectUri ] [-LicenseUri ] + [-IconUri ] [-ReleaseNotes ] [-Prerelease ] [-HelpInfoUri ] + [-DefaultCommandPrefix ] [-ExternalModuleDependencies ] + [-RequireLicenseAcceptance] [-PrivateData ] [] ``` ## DESCRIPTION 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 1498298..39c903e 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -15,8 +14,8 @@ Downloads and installs the newest version of a package already installed on the ## SYNTAX ``` -Update-PSResource [[-Name] ] [-Version ] [-Prerelease] [-Repository ] - [-Scope ] [-TemporaryPath ] [-TrustRepository] [-Credential ] +Update-PSResource [[-Name] ] [-Version ] [-Prerelease] [-Repository ] + [-Scope ] [-TemporaryPath ] [-TrustRepository] [-Credential ] [-Quiet] [-AcceptLicense] [-Force] [-PassThru] [-SkipDependencyCheck] [-AuthenticodeCheck] [-WhatIf] [-Confirm] [] ``` 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 bf99585..bb25a5f 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,7 +1,6 @@ --- external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml Module Name: Microsoft.PowerShell.PSResourceGet -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 @@ -15,12 +14,12 @@ This cmdlet updates the comment-based metadata in an existing script `.ps1` file ## SYNTAX ``` -Update-PSScriptFileInfo [-Author ] [-CompanyName ] [-Copyright ] - [-Description ] [-ExternalModuleDependencies ] - [-ExternalScriptDependencies ] [-Guid ] [-IconUri ] [-LicenseUri ] - [-Path] [-PrivateData ] [-ProjectUri ] [-ReleaseNotes ] - [-RemoveSignature] [-RequiredModules ] [-RequiredScripts ] - [-Tags ] [-Version ] [] +Update-PSScriptFileInfo [-Path] [-Author ] [-CompanyName ] + [-Copyright ] [-Description ] [-ExternalModuleDependencies ] + [-ExternalScriptDependencies ] [-Guid ] [-IconUri ] [-LicenseUri ] + [-PrivateData ] [-ProjectUri ] [-ReleaseNotes ] [-RemoveSignature] + [-RequiredModules ] [-RequiredScripts ] [-Tags ] + [-Version ] [] ``` ## DESCRIPTION