Powershell script scan in sonar


i am trying to scan powershell script through sonarqube in windows. It passed succesfully in command line. but sonarqube says the main branch has no code line. can anyone help me with this

Hi,

Welcome to the community!

There’s no native functionality in SonarQube to analyze Powershell. Unless you’ve added a plugin to your instance to add that functionality, then this is the expected result, since analysis wouldn’t have found any files/lines that it recognized as code.

 
HTH,
Ann