From 071b3605c13efcdc83ed8f66110ce78d2456f483 Mon Sep 17 00:00:00 2001 From: "Travis C. LaGrone" <22419287+travis-c-lagrone@users.noreply.github.com> Date: Sat, 22 Jun 2019 21:29:50 -0500 Subject: [PATCH 1/2] Update documentation for parameter "Settings" of command "Invoke-ScriptAnalyzer" to include the key "RecurseCustomRulesPath" --- docs/markdown/Invoke-ScriptAnalyzer.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/markdown/Invoke-ScriptAnalyzer.md b/docs/markdown/Invoke-ScriptAnalyzer.md index c22d93a03..f52addd92 100644 --- a/docs/markdown/Invoke-ScriptAnalyzer.md +++ b/docs/markdown/Invoke-ScriptAnalyzer.md @@ -437,11 +437,13 @@ If the path, the file's or hashtable's content are invalid, it is ignored. The parameters and values in the profile take precedence over the same parameter and values specified at the command line. A Script Analyzer profile file is a text file that contains a hash table with one or more of the following keys: + -- Severity -- IncludeRules -- ExcludeRules -- Rules -- CustomRulePath +-- RecurseCustomRulePath -- IncludeDefaultRules The keys and values in the profile are interpreted as if they were standard parameters and parameter values of Invoke-ScriptAnalyzer. From 2ac75c5a2c8bf59fda8d5ffe553c9b4995aa836c Mon Sep 17 00:00:00 2001 From: "Travis C. LaGrone" <22419287+travis-c-lagrone@users.noreply.github.com> Date: Sat, 29 Jun 2019 11:25:44 -0500 Subject: [PATCH 2/2] Order documentary key list for Invoke-ScriptAnalyzer -Settings alphabetically --- docs/markdown/Invoke-ScriptAnalyzer.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/markdown/Invoke-ScriptAnalyzer.md b/docs/markdown/Invoke-ScriptAnalyzer.md index f52addd92..4150da099 100644 --- a/docs/markdown/Invoke-ScriptAnalyzer.md +++ b/docs/markdown/Invoke-ScriptAnalyzer.md @@ -438,13 +438,13 @@ The parameters and values in the profile take precedence over the same parameter A Script Analyzer profile file is a text file that contains a hash table with one or more of the following keys: --- Severity --- IncludeRules --- ExcludeRules --- Rules -- CustomRulePath --- RecurseCustomRulePath +-- ExcludeRules -- IncludeDefaultRules +-- IncludeRules +-- RecurseCustomRulePath +-- Rules +-- Severity The keys and values in the profile are interpreted as if they were standard parameters and parameter values of Invoke-ScriptAnalyzer.