Friday, 25 July 2014

Automatically install the IIS Management Scripts and Tools role feature (Web-Scripting-Tools).

Starting with Windows Server 2008 Microsoft made it so that you could not communicate with IIS servers using WMI by default, instead you must install the IIS Management Scripts and Tools role feature (Web-Scripting-Tools).

This can be done using the one of the following methods

  • Using PowerShell locally with the command

    Import-Module ServerManager
    Add-WindowsFeature Web-Scripting-Tools
  • Using PowerShell remoting (assuming that PowerShell 2 is installed and that remoting is enabled)
  • Using servermanagercmd on Windows 2008 and Windows 2008 R2
    servermanagercmd.exe -install Web-Scripting-Tools
  • Using the Server Manager user interface

As this role feature is a requirement for XIA Configuration to be able to document and audit your IIS servers we've added a new tool to XIA Configuration Server v6.1

The tool allows you to enter the names of the local or remote servers on which to install the role service. This does not require PowerShell 2 or remoting as it uses a remote execution of servermanagercmd.exe on Windows 2008 and the new MSFT_ServerManagerDeploymentTasks WMI classes on Windows Server 2012 and Windows Server 2012 R2.

We hope this will help getting the prerequisites installed for XIA Configuration.

For more information see our IIS Audit and Documentation page.

No comments:

Post a Comment