Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoke-ScriptAnalyzer -Recurse taking forever (60+ seconds) to finish #1189

Open
PrzemyslawKlys opened this issue Mar 23, 2019 · 16 comments
Open

Comments

@PrzemyslawKlys
Copy link
Contributor

PrzemyslawKlys commented Mar 23, 2019

To be honest, this is my first time ever I tried to use Invoke-ScriptAnalyzer. So please be patient with me and if I am doing things wrong please let me know. Most of the time I use defaults on VSCode but I wanted to play with it today a bit. I have very simple project with just few files. When I used -Recurse it's stuck. I am not sure if this is just my setup or I need to wait much much longer but it would seem weird for it to be waiting like that on 100 lines.

Keep in mind that my C:\Support\Github is actually hardlinked.

image

Now I am wondering if that is not being a problem overall for all my reports about broken stuff in VSCode where I get lots and lots of perf issues,, broken links. Notice how C: is actually missing from fsutil.exe output. I am not sure if that's supposed to be like that thou and how it would affect your tool.

I did move the project to Desktop or tried using OneDrive folder directly but it didn't change the output so maybe it's not related.

I did try this outside of VSCode with same results.

Steps to reproduce

Invoke-ScriptAnalyzer -Path C:\Support\GitHub\Dashimo -Recurse -Verbose

Expected behavior

Finishing up.

Actual behavior

PSScriptAnalyzer

Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.17763.316
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.316
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

> (Get-Module -ListAvailable PSScriptAnalyzer).Version | ForEach-Object { $_.ToString() }

1.18.0
1.17.1
1.17.1
@PrzemyslawKlys
Copy link
Contributor Author

Actually, after waiting a bit more like 60+ seconds, it started returning stuff...

image

What is funny subsequent retries gets it done in 1 second or less.

PS C:\Users\przemyslaw.klys> cd .\Desktop\
PS C:\Users\przemyslaw.klys\Desktop> cd .\Dashimo\
PS C:\Users\przemyslaw.klys\Desktop\Dashimo> .\Test.ps1
VERBOSE: Settings object could not be resolved.
VERBOSE: Performing the operation "Analyzing path with Recurse=True" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo".
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1"
on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.

RuleName                            Severity     ScriptName Line  Message
--------                            --------     ---------- ----  -------
PSAvoidTrailingWhitespace           Information  Run-Dashbo 21    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 23    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 27    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 28    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 30    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 33    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 36    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 39    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 44    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 47    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 50    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 51    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 58    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 61    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 62    Line has trailing whitespace
                                                 ard.ps1
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1" on
target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
PSAvoidTrailingWhitespace           Information  Dashboard. 9     Line has trailing whitespace
                                                 ps1
PSAvoidTrailingWhitespace           Information  Dashboard. 10    Line has trailing whitespace
                                                 ps1
PSUseDeclaredVarsMoreThanAssignment Warning      Dashboard. 17    The variable 'DynamicHTMLPath' is assigned but never
s                                                ps1              used.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1" on
target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
PSAvoidTrailingWhitespace           Information  Tab.ps1    9     Line has trailing whitespace
PSAvoidTrailingWhitespace           Information  Tab.ps1    11    Line has trailing whitespace
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1"
on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
PSAvoidTrailingWhitespace           Information  Manage-Mod 80    Line has trailing whitespace
                                                 ule.ps1
0 days, 0 hours, 1 minutes, 10 seconds, 627 milliseconds

2nd try:

PS C:\Users\przemyslaw.klys\Desktop\Dashimo> .\Test.ps1
VERBOSE: Settings object could not be resolved.
VERBOSE: Performing the operation "Analyzing path with Recurse=True" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo".
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1"
on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.

RuleName                            Severity     ScriptName Line  Message
--------                            --------     ---------- ----  -------
PSAvoidTrailingWhitespace           Information  Run-Dashbo 21    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 23    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 27    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 28    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 30    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 33    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 36    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 39    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 44    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 47    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 50    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 51    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 58    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 61    Line has trailing whitespace
                                                 ard.ps1
PSAvoidTrailingWhitespace           Information  Run-Dashbo 62    Line has trailing whitespace
                                                 ard.ps1
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1" on
target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSShouldProcess rule.
PSUseDeclaredVarsMoreThanAssignment Warning      Dashboard. 17    The variable 'DynamicHTMLPath' is assigned but never
s                                                ps1              used.
PSAvoidTrailingWhitespace           Information  Dashboard. 9     Line has trailing whitespace
                                                 ps1
PSAvoidTrailingWhitespace           Information  Dashboard. 10    Line has trailing whitespace
                                                 ps1
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1" on
target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSShouldProcess rule.
PSAvoidTrailingWhitespace           Information  Tab.ps1    9     Line has trailing whitespace
PSAvoidTrailingWhitespace           Information  Tab.ps1    11    Line has trailing whitespace
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1"
on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
PSAvoidTrailingWhitespace           Information  Manage-Mod 80    Line has trailing whitespace
                                                 ule.ps1
0 days, 0 hours, 0 minutes, 1 seconds, 637 milliseconds

@PrzemyslawKlys PrzemyslawKlys changed the title Invoke-ScriptAnalyzer -Recurse never ending Invoke-ScriptAnalyzer -Recurse taking forever (60+ seconds) to finish Mar 23, 2019
@bergmeister
Copy link
Collaborator

1.18.0 is twice as fast for cold runs and hundreds of times faster when re-analyzing due to caching. Please provide a time difference between 1.17.1 and 1.18.0 for a cold run (new shell). For a big project like e.g. the test folder of the PowerShell repo analysis can take 2 minutes. Without seeing the code or a time difference I cannot say anything

@PrzemyslawKlys
Copy link
Contributor Author

The file it was stuck on has 93 lines. Whole project has like 10 files and 1000 lines in total. This is very small project. Unless it analyses all dependencies and loads all required modules I cant see how it can take so long. I’ll publish sources for that project when I get back home.

@bergmeister
Copy link
Collaborator

bergmeister commented Mar 23, 2019

Ok, if you've nailed it down to one file (if just analysing this one file in a new shell is still slow) that is problematic that then that file please and a time comparison with 1.17.1 please so that we know if that is a regression or not.
It does traverse some of the function calls and the most expensive part are usually the calls to Get-Command for getting CommandInfo details. Maybe there is some deep recursion going on in your case.

@PrzemyslawKlys
Copy link
Contributor Author

[15:12:16][ ms] C:\Users\przemyslaw.klys\Desktop\Dashimo> c:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1

Importing PSSharedGoods
0 days, 0 hours, 0 minutes, 0 seconds, 134 milliseconds
Importing PSWinDocumentation
0 days, 0 hours, 0 minutes, 4 seconds, 178 milliseconds
Importing PSWriteHTML
0 days, 0 hours, 0 minutes, 3 seconds, 52 milliseconds
Importing PSWinReporting
0 days, 0 hours, 0 minutes, 3 seconds, 734 milliseconds
Running ScriptAnalyzer
VERBOSE: Settings object could not be resolved.
VERBOSE: Performing the operation "Analyzing path with Recurse=False" on target "C:\Users\przemyslaw.klys\Desktop\Dashimo".
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1" on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1" on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1" on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
0 days, 0 hours, 0 minutes, 1 seconds, 822 milliseconds
[15:13:03][5 ms] C:\Users\przemyslaw.klys\Desktop\Dashimo> c:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1

Importing PSSharedGoods
0 days, 0 hours, 0 minutes, 0 seconds, 93 milliseconds
Importing PSWinDocumentation
0 days, 0 hours, 0 minutes, 4 seconds, 337 milliseconds
Importing PSWriteHTML
0 days, 0 hours, 0 minutes, 3 seconds, 390 milliseconds
Importing PSWinReporting
0 days, 0 hours, 0 minutes, 3 seconds, 695 milliseconds
Running ScriptAnalyzer
VERBOSE: Settings object could not be resolved.
VERBOSE: Performing the operation "Analyzing path with Recurse=True" on target "C:\Users\przemyslaw.klys\Desktop\Dashimo".
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1" on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1" on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1" on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1" on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
Invoke-ScriptAnalyzer : The WriteObject and WriteError methods cannot be called from outside the overrides of the BeginProcessing, ProcessRecord, and EndProcessing methods, and they can only be called
 from within the same thread. Validate that the cmdlet makes these calls correctly, or contact Microsoft Customer Support Services.
At C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1:23 char:1
+ Invoke-ScriptAnalyzer -Path 'C:\Users\przemyslaw.klys\Desktop\Dashimo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Invoke-ScriptAnalyzer], PSInvalidOperationException
    + FullyQualifiedErrorId : InvalidOperation,Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.InvokeScriptAnalyzerCommand
 
0 days, 0 hours, 0 minutes, 53 seconds, 466 milliseconds
[15:14:17][67 ms] C:\Users\przemyslaw.klys\Desktop\Dashimo>

This one gave an error but I actually preloaded Import-Module required modules before running script analyzer. Will prepare more diagnostics soon.

@PrzemyslawKlys
Copy link
Contributor Author

$Time1 = Start-TimeLog
Write-Color -Text 'Importing PSSharedGoods' -Color Green
Import-Module PSSharedGoods -Force
Stop-TimeLog -Time $Time1

$Time2 = Start-TimeLog
Write-Color -Text 'Importing PSWinDocumentation' -Color Green
Import-Module PSWinDocumentation -Force
Stop-TimeLog -Time $Time2

$Time3 = Start-TimeLog
Write-Color -Text 'Importing PSWriteHTML' -Color Green
Import-Module PSWriteHTML -Force
Stop-TimeLog -Time $Time3

$Time4 = Start-TimeLog
Write-Color -Text 'Importing PSWinReporting' -Color Green
Import-Module PSWinReporting -Force
Stop-TimeLog -Time $Time4

$Time6 = Start-TimeLog
$Version = '1.18.0'
Write-Color -Text "Importing PSScriptAnalyzer $Version" -Color Green
Import-Module PSScriptAnalyzer -RequiredVersion $Version -Force
Stop-TimeLog -Time $Time6

$Time5 = Start-TimeLog
Write-Color -Text 'Running ScriptAnalyzer' -Color Red
Invoke-ScriptAnalyzer -Path 'C:\Users\przemyslaw.klys\Desktop\Dashimo' -Verbose -Recurse
Stop-TimeLog -Time $Time5

Results:

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\przemyslaw.klys> cd .\Desktop\
PS C:\Users\przemyslaw.klys\Desktop> cd .\Dashimo\
PS C:\Users\przemyslaw.klys\Desktop\Dashimo> .\Test.ps1
Importing PSSharedGoods
0 days, 0 hours, 0 minutes, 0 seconds, 110 milliseconds
Importing PSWinDocumentation
0 days, 0 hours, 0 minutes, 7 seconds, 423 milliseconds
Importing PSWriteHTML
0 days, 0 hours, 0 minutes, 1 seconds, 197 milliseconds
Importing PSWinReporting
0 days, 0 hours, 0 minutes, 1 seconds, 694 milliseconds
Importing PSScriptAnalyzer 1.18.0
0 days, 0 hours, 0 minutes, 0 seconds, 152 milliseconds
Running ScriptAnalyzer
VERBOSE: Settings object could not be resolved.
VERBOSE: Performing the operation "Analyzing path with Recurse=True" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo".
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1"
on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1" on
target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.

RuleName                            Severity     ScriptName Line  Message
--------                            --------     ---------- ----  -------
PSAvoidTrailingWhitespace           Information  Dashboard. 9     Line has trailing whitespace
                                                 ps1
PSAvoidTrailingWhitespace           Information  Dashboard. 10    Line has trailing whitespace
                                                 ps1
PSUseDeclaredVarsMoreThanAssignment Warning      Dashboard. 17    The variable 'DynamicHTMLPath' is assigned but never
s                                                ps1              used.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1" on
target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
PSAvoidTrailingWhitespace           Information  Tab.ps1    9     Line has trailing whitespace
PSAvoidTrailingWhitespace           Information  Tab.ps1    11    Line has trailing whitespace
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1"
on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
PSAvoidTrailingWhitespace           Information  Manage-Mod 80    Line has trailing whitespace
                                                 ule.ps1
0 days, 0 hours, 1 minutes, 5 seconds, 614 milliseconds

@PrzemyslawKlys
Copy link
Contributor Author

Here with older version:

$Time1 = Start-TimeLog
Write-Color -Text 'Importing PSSharedGoods' -Color Green
Import-Module PSSharedGoods -Force
Stop-TimeLog -Time $Time1

$Time2 = Start-TimeLog
Write-Color -Text 'Importing PSWinDocumentation' -Color Green
Import-Module PSWinDocumentation -Force
Stop-TimeLog -Time $Time2

$Time3 = Start-TimeLog
Write-Color -Text 'Importing PSWriteHTML' -Color Green
Import-Module PSWriteHTML -Force
Stop-TimeLog -Time $Time3

$Time4 = Start-TimeLog
Write-Color -Text 'Importing PSWinReporting' -Color Green
Import-Module PSWinReporting -Force
Stop-TimeLog -Time $Time4

$Time6 = Start-TimeLog
$Version = '1.17.1'
Write-Color -Text "Importing PSScriptAnalyzer $Version" -Color Green
Import-Module PSScriptAnalyzer -RequiredVersion $Version -Force
Stop-TimeLog -Time $Time6

$Time5 = Start-TimeLog
Write-Color -Text 'Running ScriptAnalyzer' -Color Red
Invoke-ScriptAnalyzer -Path 'C:\Users\przemyslaw.klys\Desktop\Dashimo' -Verbose -Recurse
Stop-TimeLog -Time $Time5
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\przemyslaw.klys> cd .\Desktop\
PS C:\Users\przemyslaw.klys\Desktop> cd .\Dashimo\
PS C:\Users\przemyslaw.klys\Desktop\Dashimo> .\Test.ps1
Importing PSSharedGoods
0 days, 0 hours, 0 minutes, 0 seconds, 107 milliseconds
Importing PSWinDocumentation
0 days, 0 hours, 0 minutes, 7 seconds, 436 milliseconds
Importing PSWriteHTML
0 days, 0 hours, 0 minutes, 1 seconds, 201 milliseconds
Importing PSWinReporting
0 days, 0 hours, 0 minutes, 1 seconds, 687 milliseconds
Importing PSScriptAnalyzer 1.17.1
0 days, 0 hours, 0 minutes, 0 seconds, 207 milliseconds
Running ScriptAnalyzer
VERBOSE: Settings object could not be resolved.
VERBOSE: Performing the operation "Analyzing path with Recurse=True" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo".
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psd1
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingUserNameAndPassWordParams rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Dashimo.psm1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingUserNameAndPassWordParams rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Test.ps1
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingUserNameAndPassWordParams rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1"
on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Example\Run-Dashboard.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingUserNameAndPassWordParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Chart.ps1
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSAvoidUsingUserNameAndPassWordParams rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1" on
target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Dashboard.ps1
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidUsingUserNameAndPassWordParams rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.

RuleName                            Severity     ScriptName Line  Message
--------                            --------     ---------- ----  -------
PSAvoidTrailingWhitespace           Information  Dashboard. 9     Line has trailing whitespace
                                                 ps1
PSAvoidTrailingWhitespace           Information  Dashboard. 10    Line has trailing whitespace
                                                 ps1
PSUseDeclaredVarsMoreThanAssignment Warning      Dashboard. 17    The variable 'DynamicHTMLPath' is assigned but never
s                                                ps1              used.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Panel.ps1
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingUserNameAndPassWordParams rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1" on
target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Section.ps1
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingUserNameAndPassWordParams rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Tab.ps1
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingUserNameAndPassWordParams rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Running PSShouldProcess rule.
PSAvoidTrailingWhitespace           Information  Tab.ps1    9     Line has trailing whitespace
PSAvoidTrailingWhitespace           Information  Tab.ps1    11    Line has trailing whitespace
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1" on target
"C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Public\Table.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingUserNameAndPassWordParams rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
VERBOSE: Performing the operation "Analyzing file C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1"
on target "C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1".
VERBOSE: Analyzing file: C:\Users\przemyslaw.klys\Desktop\Dashimo\Publish\Manage-Module.ps1
VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule.
VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule.
VERBOSE: Running PSAvoidGlobalAliases rule.
VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule.
VERBOSE: Running PSAvoidGlobalVars rule.
VERBOSE: Running PSAvoidGlobalFunctions rule.
VERBOSE: Running PSAvoidInvokingEmptyMembers rule.
VERBOSE: Running PSAvoidShouldContinueWithoutForce rule.
VERBOSE: Running PSAvoidUsingUserNameAndPassWordParams rule.
VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule.
VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule.
VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule.
VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule.
VERBOSE: Running PSAvoidUsingWMICmdlet rule.
VERBOSE: Running PSMissingModuleManifestField rule.
VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule.
VERBOSE: Running PSAvoidUsingInvokeExpression rule.
VERBOSE: Running PSAvoidUsingWriteHost rule.
VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule.
VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule.
VERBOSE: Running PSReservedParams rule.
VERBOSE: Running PSUseCompatibleCmdlets rule.
VERBOSE: Running PSUseLiteralInitializerForHashtable rule.
VERBOSE: Running PSAvoidUsingPlainTextForPassword rule.
VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule.
VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule.
VERBOSE: Running PSUsePSCredentialType rule.
VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule.
VERBOSE: Running PSUseOutputTypeCorrectly rule.
VERBOSE: Running PSUseApprovedVerbs rule.
VERBOSE: Running PSUseSingularNouns rule.
VERBOSE: Running PSUseUTF8EncodingForHelpFile rule.
VERBOSE: Running PSUseToExportFieldsInManifest rule.
VERBOSE: Running PSUseSupportsShouldProcess rule.
VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule.
VERBOSE: Running PSMisleadingBacktick rule.
VERBOSE: Running PSAvoidTrailingWhitespace rule.
VERBOSE: Running PSReservedCmdletChar rule.
VERBOSE: Running PSProvideCommentHelp rule.
VERBOSE: Running PSShouldProcess rule.
VERBOSE: Running PSAvoidUsingCmdletAliases rule.
VERBOSE: Running PSUseCmdletCorrectly rule.
VERBOSE: Running PSAvoidUsingPositionalParameters rule.
PSAvoidTrailingWhitespace           Information  Manage-Mod 80    Line has trailing whitespace
                                                 ule.ps1
0 days, 0 hours, 1 minutes, 36 seconds, 144 milliseconds

@PrzemyslawKlys
Copy link
Contributor Author

Dashimo - Copy.zip

Here is Dashimo project. It's very small. It requires some modules but as you see above it takes like 15 seconds to load them all (they are not compiled (multifile modules) on my computer).

@PrzemyslawKlys
Copy link
Contributor Author

Just to say, if you would like a remote session to see it with your own eyes, play around my system I'm good with that. I can do anything you want when it comes to testing this but I know from experience that it sometimes it's easier to do some debug yourself.

@PrzemyslawKlys
Copy link
Contributor Author

I did some more testing. I was able to bring the scan to 21 seconds. I've noticed the speed up when I've merged all my modules into single file modules. I've noticed that some modules even in single file take a while to load like 7 seconds if they are the first time ever loaded. Subsequent import-module with force takes 0 seconds.

Now to me, it looks like you're triggering Import-Module during scan even thou it's already triggered and commands are available. I can't pinpoint why would my modules behave the way they do when those are loaded for the first time ever.

I can only speculate

Add-Type -TypeDefinition @"
public enum ActiveDirectory {

}

Being the reason. Otherwise, it's just a bunch of functions in each one.

@bergmeister
Copy link
Collaborator

bergmeister commented Mar 23, 2019

It seems, the 1.18 release made analysis faster as expected, so no regression.
The calls to Get-Command are implicitly triggering the module loads, see #841 (comment)
On my machine it takes 10 seconds, so I can assume only that you have much more modules installed and your system might be a bit slower as well (as I'm on a 6 core i7).
I googled the error that you had and that comes from the SQL server module that is not thread safe, PSSA invokes all rules in parallel, so technically one would need to call each rule sequentially in this case by calling Invoke-ScriptAnalyzer -Include foreach rule but this would slow down execution of course. There are already proposed changes to multi-threading in the pipeline that would speedup cold runs by 80% so I'd expect the behaviour to become slowly better in the future over time

@PrzemyslawKlys
Copy link
Contributor Author

PrzemyslawKlys commented Mar 23, 2019

I have I9 9900K, with 2500mb/s read/write speeds and 32gb of ram. Updated recently.

image

But is it calling modules with -Force? After merging every single module to 1 file it takes like 0 seconds per module to load and I load them before executing your script. Or maybe it's doing Import-Module for all my modules in the system?

@PrzemyslawKlys
Copy link
Contributor Author

Also why would it trigger SQL server module? I am not using that in that module?

@bergmeister
Copy link
Collaborator

bergmeister commented Mar 24, 2019

I found a reference to the SQL server module here when I googled the error message, but maybe it was a red herring as this thread indicates it might be a threading issue with -Verbose.
You can save some time by importing modules beforehand but PSSA calls Get-Command -Name $name for nearly every command that it encounters, which then implicitly leads to module loads. If there is inter-dependencies between modules then it will start loading more modules but that is just the behaviour of PowerShell itself. I plan to replace it with a single call to Get-Command at some point but this is blocked on this bug of PowerShell (that I actually discussed last with members of the PS team).
For the moment, we know that PSSA is not always the fastest for cold runs but that is also because it is doing a lot of work to get as much information out as possible. Things will slowly get better over time like in the last release where speed was doubled and similar improvements are coming in the future.
You could try running this in PowerShell Core where you probably have fewer modules installed that could make it faster.

@PrzemyslawKlys
Copy link
Contributor Author

PrzemyslawKlys commented Mar 24, 2019

I understand. This error only showed up when using VSCode, outside of VSCode no error (on same code).

If I understand correctly how PSScriptAnalyzer works, it scans the whole file and then for each command it finds in the file it would do Get-Command. So if I am preloading all modules beforehand everything should be loaded already and take no time.

When I used PS6 it does the scan in 1 second for everything. That's a huge difference :-) 1minute vs 1second. Of course, I don't have my PSWriteExcel, PSWriteWord, PSWinDocumentation and/or PSWinReporting.

Now I am thinking that maybe something else is in play here? What if I would do a short script and loop over each file myself? Is there a way to do more debug as in which command it's stuck on the most (because I see this only on one file or so).

I event went mad on import and did Get-Module -ListAvailable and put that over to Import-Module. Lots of errors later it still didn't help.

@msftrncs
Copy link

msftrncs commented May 6, 2019

I found my system got very slow (anything with PowerShell in VS Code) after installing the .NET SDK / Visual Studio Community / or the Visual Studio Build Tools. Haven't narrowed done exactly which.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants