Skip to content

Commit 8304d2e

Browse files
authored
Update README.md with PowerShellGet info
1 parent 744df75 commit 8304d2e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ Install the module from the PowerShell Gallery:
1717
Install-Module PSAppDeployToolkit.Tools -Scope CurrentUser -AllowPreRelease
1818
```
1919

20-
Or import a downloaded copy of the module:
20+
If this produces an error that the `-AllowPreRelease` parameter is not recognised, then first update PowerShellGet and then restart your PowerShell console:
21+
22+
```powershell
23+
Install-Module PowerShellGet -Force -Scope CurrentUser
24+
```
25+
26+
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:
2127

2228
```powershell
2329
Import-Module "<Path To PSAppDeployToolkit.Tools.psd1>"

0 commit comments

Comments
 (0)