Install Script Browser & Script Analyzer from PowerShellGet of WMF 5.0

The PowerShell team has recently announced PowerShellGet, a new way to discover, install and update PowerShell modules, in the Windows Management Framework 5.0 Preview.   In this blog, you will learn how to install Script Browser & Script Analyzer through the PowerShellGet.

First, you need to download and install Windows Management Framework 5.0 Preview.

Next, launch Windows PowerShell ISE, and type the following command into the PowerShell console.  The installation does not require administrator permission because it installs the apps to your current user profile.

Install-Module ScriptBrowser –Scope CurrentUser

image

After the installation, you can enable Script Browser / Script Analyzer in the PowerShell ISE by entering the following cmdlets:

  • Enable-ScriptBrowser
  • Enable-ScriptAnalyzer

image