Submit a ticketCall us
Home > Success Center > Server & Application Monitor (SAM) > SAM Documentation > SAM 6.7 Administrator Guide > AppInsight for IIS > Install PowerShell 2.0 (or later) and the WebAdministration snapin

Install PowerShell 2.0 (or later) and the WebAdministration snapin

Updated: April 30, 2018

The following procedures outline the installation of PowerShell and the required snapins.

Download and Install PowerShell 2.0 or later on Windows Server 2008

The following steps are not necessary for Windows Server 2008 R2 and Windows Server 2012.

Download PowerShell 2.0 or later

  1. Navigate to Windows Management Framework (

  2. Review the information on the web page, and then click the link for the download of the Windows Management Framework Core for your platform in the Download Information section.
  3. On the Update page, click Download.

  4. When the download is complete, click Finish.

Install PowerShell 2.0 or later on Windows Server 2008 and 2008 R2

Installation of PowerShell 2.0 or later can typically be done from the Server Manager as shown below. See Microsoft's documentation website (© Microsoft Corp, available at, obtained on April 30, 2018).


Install the WebAdministration Snapins.

For Managed Nodes with IIS 7.0, download and install the PowerShell WebAdministration snapins found at the following link:

The IIS PowerShell Snap-in requires the following prerequisites

  • Windows Server 2008 or higher
  • Microsoft PowerShell 2.0
  • IIS??7.0

Install the IIS PowerShell snap-in

  1. The IIS PowerShell Snap-in is available as x86 and x64 version. Download the 32-Bit version or 64-Bit version.
  2. Run the MSI file to install the IIS PowerShell Snap-in.

Use the PowerShell snap-in

PowerShell snap-ins like the IIS PowerShell Snap-in have to be registered with PowerShell. There are two ways to do this:

  1. Automatic Registration by using the IIS PowerShell Management Console

    The IIS PowerShell snap-in setup creates a new program menu shortcut. By starting this shortcut, the IIS PowerShell snap-in is registered automatically. Navigate to Start > All Programs > IIS 7.0 Extensions > IIS PowerShell Management Console. The prompt of the new PowerShell command window is set to "IIS:\" - the root of the IIS snap-in namespace.
  2. Manual Registration

    If you want to use the IIS PowerShell snap-in from an existing PowerShell command window, you have to register the IIS snap-in manually. You can do this by simply executing the IISConsole.PSC1 file located in the $env:programfiles\IIS\PowerShellProvider directory:

    PS C:\> & "$env:programfiles\IIS\PowerShellSnapin\iisConsole.psc1"
Last modified