Skip to content

Commit 56dd471

Browse files
committed
Update README.md with correct instructions for building and importing the module
1 parent e33a31c commit 56dd471

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ WS2012R2 / Windows 8.1 / Windows OS running PowerShell v5.0 which can be obtaine
2121
Installation
2222
============
2323

24-
1. Build the Code using Visual Studio
24+
1. Build the Code using Visual Studio [solution part of the repo]
2525

26-
2. Copy following files to ```$env:ProgramFiles\WindowsPowerShell\Modules\ScriptAnalyzer```
26+
2. Copy files from ``~/ProjectRoot/ScriptAnalyzer`` to ```$env:ProgramFiles\WindowsPowerShell\Modules\ScriptAnalyzer```
2727

2828
3. In PowerShell Console:
2929
```powershell
30-
Import-Module $env:ProgramFiles\WindowsPowerShell\Modules\ScriptAnalyzer\PSScriptAnalyzer.psd1
30+
Import-Module ScriptAnalyzer
3131
```
3232

3333
To confirm installation: run ```Get-ScriptAnalyzerRule``` in the PowerShell console to obtain the built-in rules

0 commit comments

Comments
 (0)