Skip to content

Commit

Permalink
Update README.md with PowerShellGet info
Browse files Browse the repository at this point in the history
  • Loading branch information
DanGough authored Dec 9, 2024
1 parent 744df75 commit 8304d2e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ Install the module from the PowerShell Gallery:
Install-Module PSAppDeployToolkit.Tools -Scope CurrentUser -AllowPreRelease
```

Or import a downloaded copy of the module:
If this produces an error that the `-AllowPreRelease` parameter is not recognised, then first update PowerShellGet and then restart your PowerShell console:

```powershell
Install-Module PowerShellGet -Force -Scope CurrentUser
```

Alternatively you can import a downloaded copy of the module - however with this approach, you will need to ensure its pre-requisite modules **PSAppDeployToolkit** and **PSScriptAnalyzer** are available:

```powershell
Import-Module "<Path To PSAppDeployToolkit.Tools.psd1>"
Expand Down

0 comments on commit 8304d2e

Please sign in to comment.