This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Export-SonarQubeProject { | |
<# | |
.DESCRIPTION | |
Export projects from SonarQube into a .CSV (hence after Excel .XSLX file) | |
Script takes care of retrieving up to 10000 hits iteratively for your search criteria. And will warn if you have over 10000 hits which is SonarQube's limitation. | |
You can adapt the default parameters below for easy usage. In the 'Process' section there are parameters for more or less filtering on SonarQube projects. | |
.EXAMPLE | |
Export by user's favorites. Make sure you run this .PS1 file so it is loaded into your session. |