Skip to content

Commit

Permalink
Update references to PSGet (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler authored Nov 10, 2023
1 parent a0d3db2 commit 0b083fa
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: How to install the Crescendo module.
ms.date: 08/23/2023
ms.date: 11/10/2023
title: Installing Crescendo
---
# Install the Crescendo module
Expand All @@ -16,17 +16,13 @@ To install using **PowerShellGet 2.x**:
```powershell
# Install the current release
Install-Module Microsoft.PowerShell.Crescendo -Force
# Install the preview release
Install-Module Microsoft.PowerShell.Crescendo -AllowPrerelease -Force
```

To install using **Microsoft.PowerShell.PSResourceGet** (beta):
To install using **Microsoft.PowerShell.PSResourceGet**:

```powershell
# Install the current release
Install-PSResource Microsoft.PowerShell.Crescendo -Reinstall
# Install the preview release
Install-PSResource Microsoft.PowerShell.Crescendo -Prerelease -Reinstall
```

The **Force** or **Reinstall** parameters are only necessary when you have an older version of
Expand Down
12 changes: 6 additions & 6 deletions reference/docs-conceptual/PSScriptAnalyzer/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: This article explains the purpose of the PSScriptAnalyzer module.
ms.date: 06/28/2023
ms.date: 11/10/2023
title: PSScriptAnalyzer module
---
# PSScriptAnalyzer module
Expand All @@ -19,9 +19,9 @@ PowerShell code such as:
- Use of `Invoke-Expression`
- And many more

You can choose which rules to include or exclude for your modules and scripts. PSScriptAnalyzer also
has the ability to fix the formatting of your code. This helps you produce code that conforms to a
standard style, is easier to read, and is more maintainable.
You can choose the rules to include or exclude for your modules and scripts. PSScriptAnalyzer can
also fix the formatting of your code. This helps you produce code that conforms to a standard style,
is easier to read, and is more maintainable.

## Installing PSScriptAnalyzer

Expand All @@ -36,12 +36,12 @@ Install using PowerShellGet 2.x:
Install-Module -Name PSScriptAnalyzer -Force
```

Install using PowerShellGet 3.x:
Install using PSResourceGet 1.x:

```powershell
Install-PSResource -Name PSScriptAnalyzer -Reinstall
```

The **Force** or **Reinstall** parameters are only necessary when you have an older version of
PSScriptAnalyzer installed. These parameters also work even when you do not have a previous version
PSScriptAnalyzer installed. These parameters also work even when you don't have a previous version
installed.
11 changes: 10 additions & 1 deletion reference/docs-conceptual/PlatyPS/create-help-using-platyps.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Using PlatyPS is the fast and efficient way to create XML-based help.
ms.date: 06/28/2023
ms.date: 11/10/2023
title: Create XML-based help using PlatyPS
---
# Create XML-based help using PlatyPS
Expand Down Expand Up @@ -37,7 +37,16 @@ the help files into a CAB package that can be hosted for updateable help.
First you must install PlatyPS from the PowerShell Gallery.

```powershell
# Install using PowerShellGet 2.x
Install-Module platyps -Force
# Install using PSResourceGet 1.x
Install-PSResource platyps -Force
```

After installing PlatyPS, import the module into your session.

```powershell
Import-Module platyps
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: How to install and use the SecretManagement and SecretStore modules
ms.date: 10/18/2023
ms.date: 11/10/2023
title: Get started with the SecretStore module
---
# Get started with the SecretStore module
Expand All @@ -9,8 +9,13 @@ The **SecretManagement** and **SecretStore** modules are available from the Powe
can be installed using **PowerShellGet** commands.

```powershell
# Install with PowerShellGet 2.x
Install-Module Microsoft.PowerShell.SecretManagement
Install-Module Microsoft.PowerShell.SecretStore
# Install with PSResourceGet 1.x
Install-PSResource Microsoft.PowerShell.SecretManagement
Install-PSResource Microsoft.PowerShell.SecretStore
```

Once you have installed the modules, you can load the modules and begin using or creating new
Expand Down

0 comments on commit 0b083fa

Please sign in to comment.