Update run-codeanalysis.ps1

compacting code