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.






Comments

Popular posts from this blog

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

TFTPD32 or TFTPD64 reports Bind error 10013 An attempt was made to access a socket in a way forbidden by its access permissions.

Windows Server 2019 desktop icons such as My Computer, Windows cannot access the specified device, path, or file.