$sut=(Split-Path-Leaf$MyInvocation.MyCommand.Path).Replace('.Tests.','.')Import-Module$PSScriptRoot\..\functions\$sut-ForceImport-ModulePSScriptAnalyzer## Added PSAvoidUsingPlainTextForPassword as credential is an object and therefore fails. We can ignore any rules here under special circumstances agreed by admins :-)$Rules=(Get-ScriptAnalyzerRule).Where{$_.RuleName-notin('PSAvoidUsingPlainTextForPassword')}$Name=$sut.Split('.')[0]