Code for running PSScriptAnalyzer in an Azure DevOps Pipeline and posting the results in Pull Request comments.
Full setup instructions are available on the CloudLumberjack.com blog article: Azure DevOps PowerShell code analysis with Pull Request comments