Skip to content

Commit 7c969c1

Browse files
committed
Merge pull request #79 from KarolKaczmarek/installation_instructions
Updating installation instructions
2 parents 1d2bfcc + 58f5fbe commit 7c969c1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Introduction
1+
Introduction
22
============
33

44
PSScriptAnalyzer is a static code checker for Windows PowerShell modules and scripts. PSScriptAnalyzer checks the quality of Windows PowerShell code by running a set of rules. The rules are based on PowerShell best practices identified by PowerShell Team and the community. It generates DiagnosticResults (errors and warnings) to inform users about potential code defects and suggests possible solutions for improvements.
@@ -23,12 +23,13 @@ Download the latest WMF package from [Windows Management Framework 5.0 Preview F
2323
Installation
2424
============
2525

26-
1. Build the Code using Visual Studio [solution part of the repo] and navigate to the binplace location [``~/ProjectRoot/PSScriptAnalyzer``]
26+
1. Build the Code using Visual Studio [solution part of the repo] and navigate to the binplace location [``~/ProjectRoot/ScriptAnalyzer``]
2727

2828
2. In PowerShell Console:
2929
```powershell
3030
Import-Module PSScriptAnalyzer
3131
```
32+
If you have previous version of PSScriptAnalyzer installed on your machine, you may need to override old binaries by copying content of [``~/ProjectRoot/ScriptAnalyzer``] to PSModulePath.
3233

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

0 commit comments

Comments
 (0)