Skip to content

Commit 4389b77

Browse files
authored
Update docs for RC1 & 2.9-pre release (#67)
* Update docs for RC1 & 2.9-pre release * Fix typo
1 parent b786ed4 commit 4389b77

47 files changed

Lines changed: 146 additions & 108 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

powershell-gallery/docs-conceptual/powershellget/overview.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: This article explains the purpose and history of PowerShellGet
3-
ms.date: 06/30/2023
3+
ms.date: 09/19/2023
44
title: The PowerShellGet module
55
---
66
# The PowerShellGet module
@@ -12,11 +12,20 @@ Modules, DSC Resources, and Scripts.
1212
Supported versions:
1313

1414
- Current release - **PowerShellGet** 2.2.5 with **PackageManagement** 1.4.8.1
15-
- Preview release - **Microsoft.PowerShell.PSResourceGet** 0.5.22-beta22
16-
- The preview release is now included in PowerShell 7.4.0-preview.4 and newer releases
15+
- Preview releases
16+
- **Microsoft.PowerShell.PSResourceGet** 0.9.0-rc1
17+
- **PowerShellGet** 2.9.0-preview
18+
19+
> [!IMPORTANT]
20+
> The **PowerShellGet** module is being replaced by **Microsoft.PowerShell.PSResourceGet**.
21+
> **PowerShellGet** 2.9.0-preview is a compatibility module that contains proxy cmdlets that call
22+
> the new cmdlets in **Microsoft.PowerShell.PSResourceGet**. The proxy cmdlets allow you to continue
23+
> to use the old cmdlet names in your scripts while you transition to the new cmdlets.
1724
1825
## Version history
1926

27+
For best results, use the latest version of the **Microsoft.PowerShell.PSResourceGet** module.
28+
2029
- **Windows PowerShell 5.1** comes with version 1.0.0.1 of **PowerShellGet** and
2130
**PackageManagement** preinstalled.
2231

@@ -31,14 +40,12 @@ Supported versions:
3140
**PackageManagement** 1.4.7.
3241
- **PowerShell 7.4.0-preview.2** shipped with **PowerShellGet** 2.2.5 and **PackageManagement**
3342
1.4.8.1.
34-
- Future versions of **PowerShell 7.4.0** will ship with **Microsoft.PowerShell.PSResourceGet**.
43+
- **PowerShell 7.4.0-preview.4** shipped with **Microsoft.PowerShell.PSResourceGet** 0.5.24-beta24.
3544

3645
> [!NOTE]
3746
> **Microsoft.PowerShell.PSResourceGet** is a standalone module and no longer depends on the
3847
> **PackageManagement** module.
3948
40-
For best results, use the latest version of the **Microsoft.PowerShell.PSResourceGet** module.
41-
4249
## See also
4350

4451
- [Install PowerShellGet][02]

powershell-gallery/docs-conceptual/powershellget/supported-repositories.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ title: Supported repository configurations
66

77
# Supported repository configurations
88

9-
The **Microsoft.PowerShell.PSResourceGet** module, also known as **PowerShellGet v3**, works with
10-
NuGet package repositories and local file stores. In general, the cmdlets should work with any
11-
artifact repository that supports the NuGet protocol. However, not all NuGet repositories support
12-
all the features of PSResourceGet.
9+
The **Microsoft.PowerShell.PSResourceGet** module works with NuGet package repositories and local
10+
file stores. In general, the cmdlets should work with any artifact repository that supports the
11+
NuGet protocol. However, not all NuGet repositories support all the features of PSResourceGet.
1312

1413
The following repositories have been tested with PSResourceGet.
1514

powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/About/about_PSResourceGet.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
description: Describes how to use version 3.x of the PowerShellGet module.
33
Locale: en-US
4+
ms.custom: 0.9.0-rc1
45
ms.date: 06/09/2023
56
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/about_PSResourceGet?view=powershellget-3.x&WT.mc_id=ps-gethelp
67
schema: 2.0.0
@@ -9,7 +10,8 @@ title: about PSResourceGet
910
# about_PSResourceGet
1011

1112
## Short description
12-
Describes how to use version 3.x of the PowerShellGet module.
13+
Describes how to use version 0.9.0-rc1 of the
14+
**Microsoft.PowerShell.PSResourceGet** module.
1315

1416
## Long description
1517

@@ -31,7 +33,7 @@ This version of PowerShellGet focuses on a few key areas:
3133
Previous versions of **PowerShellGet** had separate commands to work with
3234
modules and scripts. In **Microsoft.PowerShell.PSResourceGet**, all packages in
3335
the PowerShell Gallery are defined as **PSResource** objects. This reduces the
34-
number of cmdlets from 26 in version 2.x to 16 in version 3.x.
36+
number of cmdlets from 26 in version 2.x to 18 in version 0.9.
3537

3638
The following table shows the cmdlets that are available in **PowerShellGet**
3739
v3 and their v2 equivalents.
@@ -47,6 +49,7 @@ v3 and their v2 equivalents.
4749
| `Get-InstalledPSResource` | `Get-InstalledScript` |
4850
| `Get-PSResourceRepository` | `Get-PSRepository` |
4951
| `Get-PSScriptFileInfo` | n/a |
52+
| `Import-PSGetRepository` | n/a |
5053
| `Install-PSResource` | `Install-Module` |
5154
| `Install-PSResource` | `Install-Script` |
5255
| `New-PSScriptFileInfo` | `New-ScriptFileInfo` |

powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Find-PSResource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
33
Module Name: Microsoft.PowerShell.PSResourceGet
4-
ms.custom: v3-beta24
5-
ms.date: 08/16/2023
4+
ms.custom: 0.9.0-rc1
5+
ms.date: 09/19/2023
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/find-psresource?view=powershellget-3.x&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
---

powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-InstalledPSResource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
33
Module Name: Microsoft.PowerShell.PSResourceGet
4-
ms.custom: v3-beta24
5-
ms.date: 08/16/2023
4+
ms.custom: 0.9.0-rc1
5+
ms.date: 09/19/2023
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/get-installedpsresource?view=powershellget-3.x&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
---

powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSResourceRepository.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
33
Module Name: Microsoft.PowerShell.PSResourceGet
4-
ms.custom: v3-beta24
5-
ms.date: 08/16/2023
4+
ms.custom: 0.9.0-rc1
5+
ms.date: 09/19/2023
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/get-psresourcerepository?view=powershellget-3.x&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
---

powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Get-PSScriptFileInfo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
33
Module Name: Microsoft.PowerShell.PSResourceGet
4-
ms.custom: v3-beta24
5-
ms.date: 08/16/2023
4+
ms.custom: 0.9.0-rc1
5+
ms.date: 09/19/2023
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/get-psscriptfileinfo?view=powershellget-3.x&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
---

powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Import-PSGetRepository.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: Microsoft.PowerShell.PSResourceGet.dll-help.xml
33
Module Name: Microsoft.PowerShell.PSResourceGet
44
ms.custom: v3-beta23
5-
ms.date: 08/16/2023
5+
ms.date: 09/19/2023
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/import-psgetrepository?view=powershellget-3.x&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
---

powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Install-PSResource.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
external help file: Microsoft.PowerShell.PSResourceGet.dll-Help.xml
33
Module Name: Microsoft.PowerShell.PSResourceGet
4-
ms.custom: v3-beta24
5-
ms.date: 08/16/2023
4+
ms.custom: 0.9.0-rc1
5+
ms.date: 09/19/2023
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/install-psresource?view=powershellget-3.x&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
---

powershell-gallery/powershellget-3.x/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Help Version: 3.0.16
44
Locale: en-US
55
Module Guid: e4e0bda1-0703-44a5-b70d-8fe704cd0643
66
Module Name: Microsoft.PowerShell.PSResourceGet
7-
ms.custom: v3-beta24
8-
ms.date: 08/16/2023
7+
ms.custom: 0.9.0-rc1
8+
ms.date: 09/19/2023
99
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.psresourceget/powershellget?view=powershellget-3.x&WT.mc_id=ps-gethelp
1010
schema: 2.0.0
1111
title: Microsoft.PowerShell.PSResourceGet
@@ -18,7 +18,7 @@ PowerShellGet is a module with commands for discovering, installing, updating an
1818
PowerShell artifacts like Modules, DSC Resources, Role Capabilities, and Scripts.
1919

2020
This documentation covers the latest preview version **Microsoft.PowerShell.PSResourceGet**
21-
v0.5.22-beta22. This version is included in PowerShell 7.4.0-preview.4 and newer releases.
21+
v0.9.0-rc1.
2222

2323
> [!IMPORTANT]
2424
> Windows PowerShell 5.1 comes with version 1.0.0.1 of **PowerShellGet** preinstalled. This version
@@ -40,6 +40,9 @@ Finds and returns registered repository information.
4040
### [Get-PSScriptFileInfo](Get-PSScriptFileInfo.md)
4141
The cmdlet creates a new script file, including metadata about the script.
4242

43+
### [Import-PSGetRepository](Import-PSGetRepository.md)
44+
Finds the repositories registered with PowerShellGet and registers them for PSResourceGet.
45+
4346
### [Install-PSResource](Install-PSResource.md)
4447
Installs resources from a registered repository.
4548

0 commit comments

Comments
 (0)