Open Marsh390 opened 5 years ago
+1 Additionally leverage PSSCriptAnalyzer to detect these issues early. You have a ton of trailing white spaces within the code, can be replaced with this regex [ \t]+$ Adding reference for AvoidTrailingWhiteSpace rule https://github.com/PowerShell/PSScriptAnalyzer/blob/development/RuleDocumentation/AvoidTrailingWhitespace.md