UNable to install PSScriptAnalyzer

When I try to click on the Analysis tab in the options dialog I get prompted to install PSScriptAnalyzer. When I say yes to install it I get an error. Here is a screenshot.


Is this a known issue? Is there a workaround? Any help on this would be greatly appreciated.



Hey @bigloudjeff,

You can always install PSScriptAnalyzer from the gallery.

Install-Module PSScriptAnalyzer -Force -Scope CurrentUser

Can you please grab a log from %AppData%\PowerShell Tools for Visual Studio? Hopefully that will contain some more info on what went wrong.

Thanks Adam. The install-module method worked.

I tried to reply to this via email with the log attached but my email keeps bouncing. Can you please PM at jeff@bigloudjeff.com and I will send you the log.