Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Server & Application Monitor (SAM) > SAM 6.4 Administrator Guide > AppInsight for IIS > Install PowerShell 2.0 and the WebAdministration snapin

Install PowerShell 2.0 and the WebAdministration snapin

Updated: 3-9-2017

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

Download and Install PowerShell 2.0 on Windows Server 2008

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

Download PowerShell 2.0

  1. Navigate to Windows Management Framework (http://go.microsoft.com/fwlink/?LinkId=177670).

  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 on Windows Server 2008 and 2008 R2

Installation of PowerShell 2.0 can typically be done from the Server Manager as shown below. For installation instructions, visit www.microsoft.com

File:Success_Center/Reusable_content_-_InfoDev/SAM_Admin_Guide_Reuse/SAM-Admin-MT/0J0/040/psss_406x291.png

 

Install the WebAdministration Snapins.

For Managed Nodes with IIS 7.0, download and install the PowerShell WebAdministration snapins found at the following link: http://www.iis.net/learn/manage/powershell/installing-the-iis-powershell-snap-in.

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
14:36, 13 Mar 2017

Tags

Classifications

Public