PS C:\Users\richm> Invoke-ScriptAnalyzer -path c:\junk\import-cut.psm1 -verbose VERBOSE: Settings object could not be resolved. VERBOSE: Performing the operation "Analyzing path with Recurse=False" on target "C:\junk\import-cut.psm1". VERBOSE: Performing the operation "Analyzing file C:\junk\import-cut.psm1" on target "C:\junk\import-cut.psm1". VERBOSE: Analyzing file: C:\junk\import-cut.psm1 VERBOSE: Running PSAvoidUsingCmdletAliases rule. VERBOSE: Running PSAvoidAssignmentToAutomaticVariable rule. VERBOSE: Running PSAvoidDefaultValueForMandatoryParameter rule. VERBOSE: Running PSAvoidUsingEmptyCatchBlock rule. VERBOSE: Running PSAvoidGlobalFunctions rule. VERBOSE: Running PSAvoidGlobalAliases rule. VERBOSE: Running PSAvoidGlobalVars rule. VERBOSE: Running PSAvoidInvokingEmptyMembers rule. VERBOSE: Running PSAvoidNullOrEmptyHelpMessageAttribute rule. VERBOSE: Running PSAvoidDefaultValueSwitchParameter rule. VERBOSE: Running PSAvoidUsingPositionalParameters rule. VERBOSE: Running PSReservedCmdletChar rule. VERBOSE: Running PSAvoidShouldContinueWithoutForce rule. VERBOSE: Running PSAvoidUsingDeprecatedManifestFields rule. VERBOSE: Running PSAvoidUsingComputerNameHardcoded rule. VERBOSE: Running PSAvoidUsingUsernameAndPasswordParams rule. VERBOSE: Running PSReservedParams rule. VERBOSE: Running PSAvoidUsingConvertToSecureStringWithPlainText rule. VERBOSE: Running PSAvoidUsingInvokeExpression rule. VERBOSE: Running PSAvoidUsingWriteHost rule. VERBOSE: Running PSMissingModuleManifestField rule. VERBOSE: Running PSAvoidUsingPlainTextForPassword rule. VERBOSE: Running PSAvoidUsingWMICmdlet rule. VERBOSE: Running PSPossibleIncorrectComparisonWithNull rule. VERBOSE: Running PSPossibleIncorrectUsageOfRedirectionOperator rule. VERBOSE: Running PSProvideCommentHelp rule. VERBOSE: Running PSPossibleIncorrectUsageOfAssignmentOperator rule. VERBOSE: Running PSUseCompatibleCmdlets rule. VERBOSE: Running PSUseLiteralInitializerForHashtable rule. VERBOSE: Running PSUseApprovedVerbs rule. VERBOSE: Running PSUseOutputTypeCorrectly rule. VERBOSE: Running PSUsePSCredentialType rule. VERBOSE: Running PSUseShouldProcessForStateChangingFunctions rule. VERBOSE: Running PSMisleadingBacktick rule. VERBOSE: Running PSUseToExportFieldsInManifest rule. VERBOSE: Running PSUseUTF8EncodingForHelpFile rule. VERBOSE: Running PSUseSupportsShouldProcess rule. VERBOSE: Running PSUseBOMForUnicodeEncodedFile rule. VERBOSE: Running PSUseCmdletCorrectly rule. VERBOSE: Running PSAvoidTrailingWhitespace rule. VERBOSE: Running PSUseDeclaredVarsMoreThanAssignments rule. VERBOSE: Running PSUseSingularNouns rule. VERBOSE: Running PSShouldProcess rule. RuleName Severity ScriptName Line Message -------- -------- ---------- ---- ------- PSUseDeclaredVarsMoreThanAssignment Warning import-cut 60 The variable 'SuppressNonDelimited' is assigned but never s .psm1 used. PSAvoidUsingCmdletAliases Warning import-cut 100 'process' is implicitly aliasing 'Get-process' because it .psm1 is missing the 'Get-' prefix. This can introduce possible problems and make scripts hard to maintain. Please consider changing command to its full name.