What is PSScriptAnalyzer used for

What is PSScriptAnalyzer used for ? PSScriptAnalyzer is code quality scanner developed by Microsoft to scan powershell code.  PSScriptAnalyzer can be installed using below command…