https://techdirectarchive.com/2020/12/08/how-to-perform-powershell-syntax-check-using-psscriptanalyzer/
How to perform PowerShell syntax check using PSScriptAnalyzer