Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: This article explains the purpose and history of PowerShellGet
ms.date: 05/17/2024
ms.date: 10/31/2024
ms.topic: overview
title: Package management for PowerShell
---
Expand Down Expand Up @@ -28,10 +28,12 @@ packages can contain artifacts such as Modules, DSC Resources, and Scripts. The
Supported versions:

- Current release
- **Microsoft.PowerShell.PSResourceGet** 1.0.5 - a standalone module that doesn't depend on the
- **Microsoft.PowerShell.PSResourceGet** 1.0.6 - a standalone module that doesn't depend on the
**PowerShellGet** or **PackageManagement** modules
- **PowerShellGet** 2.2.5 with **PackageManagement** 1.4.8.1
- Preview release
- **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.
Expand All @@ -40,6 +42,7 @@ Supported versions:

For best results, use the latest version of the **Microsoft.PowerShell.PSResourceGet** module.

- **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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: This article contains release notes for the PSResourceGet module.
ms.date: 10/22/2024
ms.date: 10/31/2024
ms.topic: release-notes
title: What's new in PSResourceGet?
---
Expand All @@ -9,14 +9,16 @@ title: 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.

- Current preview: **Microsoft.PowerShell.PSResourceGet** v1.1.0-rc1
- Current stable release: **Microsoft.PowerShell.PSResourceGet** v1.0.5
- Current preview: **Microsoft.PowerShell.PSResourceGet** v1.1.0-rc2
- Current stable release: **Microsoft.PowerShell.PSResourceGet** v1.0.6

## Release history

- v1.1.0-rc2 - Current preview release - released to the PowerShell Gallery only
- v1.1.0-rc1 - Current preview release - first shipped in PowerShell 7.5.0-rc1
- v1.1.0-preview2 - released to the PowerShell Gallery only
- v1.1.0-preview.1 - Preview release - first shipped in PowerShell 7.5.0-preview.4
- v1.0.6 - released to the PowerShell Gallery only
- v1.0.5 - first shipped in PowerShell 7.5.0-preview.3
- v1.0.4.1 - first shipped in PowerShell 7.4.2
- v1.0.4 - released to the PowerShell Gallery only
Expand All @@ -27,6 +29,13 @@ complete list of changes, see the [CHANGELOG][01] in the GitHub repository.

## Release notes

### v1.1.0-rc2 - 2024-10-30

- Implemented full Microsoft Artifact Registry integration
- Update to use OCI v2 APIs for Container Registry
- Fixes finding and installing from local repositories on Linux
- Fixes finding package names with 4 part version from local repositories

### v1.1.0-rc1 - 2024-10-24

- Added Group Policy support
Expand All @@ -52,6 +61,10 @@ complete list of changes, see the [CHANGELOG][01] in the GitHub repository.
- Allowed PSResourceGet to run Constrained Languange Mode
- Fixed incorrect request URL when installing resources from ADO

### v1.0.6 - 2024-10-10

- Bump System.Text.Json to 8.0.5

### v1.0.5 - 2024-05-13

- Added 10 minute timeout to HTTPClient
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
description: Describes how to use version 3.x of the PowerShellGet module.
Locale: en-US
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/about_PSResourceGet?view=powershellget-3.x&WT.mc_id=ps-gethelp
schema: 2.0.0
title: about PSResourceGet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
description: Describes the Group Policy settings for PowerShell
Locale: en-US
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_psresourceget_group_policy?view=powershellget-3.x&WT.mc_id=ps-gethelp
schema: 2.0.0
title: about_PSResourceGet_Group_Policy
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
schema: 2.0.0
title: Microsoft.PowerShell.PSResourceGet
---
Expand All @@ -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.0-rc1.
For a list of differences between versions, see the
This documentation covers the latest version **Microsoft.PowerShell.PSResourceGet** v1.1.0-rc2. For
a list of differences between versions, see the
[What's new in PSResourceGet?](/powershell/gallery/powershellget/psresourceget-release-notes).

> [!IMPORTANT]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand All @@ -20,26 +20,26 @@ Saves resources (modules and scripts) from a registered repository onto the mach
```
Save-PSResource [-Name] <String[]> [-Version <String>] [-Prerelease] [-Repository <String[]>]
[-Credential <PSCredential>] [-IncludeXml] [-Path <String>] [-TemporaryPath <String>]
[-TrustRepository] [-PassThru] [-SkipDependencyCheck] [-AuthenticodeCheck] [-WhatIf] [-Confirm]
[<CommonParameters>]
[-TrustRepository] [-PassThru] [-SkipDependencyCheck] [-AuthenticodeCheck] [-AcceptLicense]
[-WhatIf] [-Confirm] [<CommonParameters>]
```

### AsNupkgParameterSet

```
Save-PSResource [-Name] <String[]> [-Version <String>] [-Prerelease] [-Repository <String[]>]
[-Credential <PSCredential>] [-AsNupkg] [-Path <String>] [-TemporaryPath <String>]
[-TrustRepository] [-PassThru] [-SkipDependencyCheck] [-AuthenticodeCheck] [-WhatIf] [-Confirm]
[<CommonParameters>]
[-TrustRepository] [-PassThru] [-SkipDependencyCheck] [-AuthenticodeCheck] [-AcceptLicense]
[-WhatIf] [-Confirm] [<CommonParameters>]
```

### InputObjectParameterSet

```
Save-PSResource [-Repository <String[]>] [-Credential <PSCredential>] [-AsNupkg] [-IncludeXml]
[-Path <String>] [-TemporaryPath <String>] [-TrustRepository] [-PassThru]
[-InputObject] <PSResourceInfo[]> [-SkipDependencyCheck] [-AuthenticodeCheck] [-WhatIf]
[-Confirm] [<CommonParameters>]
[-InputObject] <PSResourceInfo[]> [-SkipDependencyCheck] [-AuthenticodeCheck] [-AcceptLicense]
[-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -89,25 +89,11 @@ Save-PSResource Az -IncludeXML

## PARAMETERS

### -AsNupkg

Saves the resource as a `.nupkg` file.

```yaml
Type: System.Management.Automation.SwitchParameter
Parameter Sets: AsNupkgParameterSet, InputObjectParameterSet
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```
### -AcceptLicense

### -AuthenticodeCheck
For modules that require a license, automatically accepts the license agreement during installation.

Validates the resource's signed files and catalog files on Windows.
This parameter was added in PSResourceGet 1.1.0-rc1.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand All @@ -121,15 +107,13 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -Quiet

Suppresses the progress bar output.
### -AsNupkg

This parameter was added in PSResourceGet 1.1.0-rc1.
Saves the resource as a `.nupkg` file.

```yaml
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Parameter Sets: AsNupkgParameterSet, InputObjectParameterSet
Aliases:

Required: False
Expand All @@ -139,11 +123,9 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -AcceptLicense

For modules that require a license, automatically accepts the license agreement during installation.
### -AuthenticodeCheck

This parameter was added in PSResourceGet 1.1.0-rc1.
Validates the resource's signed files and catalog files on Windows.

```yaml
Type: System.Management.Automation.SwitchParameter
Expand Down Expand Up @@ -270,6 +252,24 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

### -Quiet

Suppresses the progress bar output.

This parameter was added in PSResourceGet 1.1.0-rc1.

```yaml
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -Repository

Specifies one or more repository names to search. If not specified, search includes all registered
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
Module Name: Microsoft.PowerShell.PSResourceGet
ms.custom: 1.1.0-rc1
ms.date: 10/22/2024
ms.custom: 1.1.0-rc2
ms.date: 10/31/2024
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
---
Expand Down
Loading
Loading