Try Psscriptanalyzer To Check Powershell Code Best Practices

Try Psscriptanalyzer To Check Powershell Code Best Practices