Win OS:- IIS Management Tools ( web-mgmt-console ) install

Background

Earlier today I had a bit of a hard time trying to run one of the scripts that our vendor wanted us to run.

Errors

Here is the error message.

Error Message – “IIS Management Tools is not installed”

Image

Textual


Checking that required modules are installed...FAILED
The ISS Admin module is not installed. Please install IIS Management tools before continuing.

TroubleShooting

Read through the error message

Let us make sure that we understand the error message:-

  1. Unfortunately, there is a bit of a typo in the error message
  2. The error message reads
    • The ISS Admin module is not installed. Please install IIS Management tools before continuing.
  3. Questions
    • It states ISS Admin Module is not installed.
    • Please install IIS Management tools before continuing

 

Remediation

Knowing that the script is written in Microsoft Powershell, I will take my chance that the missing module is Microsoft’s IIS ( Internet Information Server ).

Let us go install IIS Management Tools.

Install

Outline

  1. Install Windows Features
    • web-mgmt-console
  2. Inquire Windows Features
    • web-mgmt-console

 

Install Windows Features

web-mgmt-console

Syntax

powershell -Command "Install-WindowsFeature <feature>"

 

Sample

powershell -Command "Install-WindowsFeature web-mgmt-console"

 

Output
Output – Image

Output – Textual
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True No Success {IIS Management Console, Management Tools,...

 

Explanation
  1. Success
    • True
  2. Restart Needed
    • No
  3. Exit Code
    • Success
  4. Feature Result
    • IIS Management Console
    • Management Tools

 

 

Inquire Windows Features

web-mgmt-console

Syntax

powershell -Command "Get-WindowsFeature"

 

Sample

powershell -Command "Get-WindowsFeature -name '*web-mgmt*' "

 

Output
Output – Image

Output – Textual


Display Name                                            Name                       Install State
------------                                            ----                       -------------
    [X] Management Tools                                Web-Mgmt-Tools                 Installed
        [X] IIS Management Console                      Web-Mgmt-Console               Installed
        [ ] IIS 6 Management Compatibility              Web-Mgmt-Compat                Available
        [ ] Management Service                          Web-Mgmt-Service               Available

 

Explanation
  1. Installation Status
    • Installed
      • Management Tools ( Web-Mgmt-Tools )
        • IIS Management Console ( Web-Mgmt-Console )
    • Available
      • Management Tools ( Web-Mgmt-Tools )
        • IIS 6 Management Compatibility ( Web-Mgmt-Compat )
        • Management Service ( Web-Mgmt-Service )

 

Summary

I went about this the wrong way.

So always check the status of a module before attempting to install it.

As always, on to the next!

One thought on “Win OS:- IIS Management Tools ( web-mgmt-console ) install

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s