TechShizz | Configure Remote Server Management via PowerShell

Configure Remote Server Management via PowerShell

Scenario

We have two servers, server1 and server2.

Server1 is a DC and Server2 is a web server. We want to be able to use the IIS management console to administer Server2 from Server1.

To allow remote management of a server role we need to enable the via PowerShell. Below is an example for enabling the management of IIS.

First we need to modify the registry to allow the connection and then we need to set the server "WMSVC" to startup automatically. After the two comands below have been run from Server2, you can then add server2 via the IIS Management Console on Server1. 

Set-ItemProperty -Path "HKLM:\Software\Microsoft\WebManagement\Server" -Force -Restart
Set-Service WMSVC -StartupType Automatic

 

Add comment