Skip to content
Tech Shizz Logo

An Engineers Blog

  • TechShizz
  • blog

Configure Remote Server Management via PowerShell

Posted on February 23, 2021 By rich No Comments on 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:SoftwareMicrosoftWebManagementServer" -Force -Restart
Set-Service WMSVC -StartupType Automatic

 

Post navigation

❮ Previous Post: Using PowerShell to Add Drivers / Packages / Install Roles and Features in a .wim file
Next Post: Windows Store is missing in Windows 10 ❯

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Subscribe to our newsletter!

Recent Posts

  • How to implement a lightning-fast ransomware playbook
  • How to achieve defence in depth in your business
  • How to implement a SecOps team phishing response plan
  • How to block an Office 365 Sign-in correctly
  • Microsoft finally patched serious Exchange 0-day over a month old!

Recent Comments

    Archives

    • November 2022
    • July 2021
    • March 2021
    • February 2021

    Categories

    • Cyber Security
    • Uncategorized

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Copyright © 2023 .

    Theme: Oceanly News Dark by ScriptsTown