dsccommunity / WebAdministrationDsc

This module contains DSC resources for deploying and configuring web servers and related components.
MIT License
162 stars 148 forks source link

Desire for a RemoteManagement resource #278

Open nzspambot opened 7 years ago

nzspambot commented 7 years ago

Hi, I found a resource I have which can enable remote IIS management.

Is this something that people would like?

It needs some tests and some lemon pledge on it.

remcoeissing commented 7 years ago

Sounds useful. I have some scripts for enabling this, but these are a long way from being a proper resource.

nzspambot commented 7 years ago

@remcoeissing refer to https://github.com/PowerShell/xWebAdministration/pull/281

artisticcheese commented 7 years ago

Please include option to deal with following properties, not only management service itself image

nzspambot commented 7 years ago

@artisticcheese sure I'll see how much work that is

artisticcheese commented 7 years ago

I believe it's just registry setting. Presence of this setting and value of 1 or lack of the registry key means only Windows credentials are allowed, value set below means both Windows and IIS Manager credentials are allowed. WMSVC service needs to be restarted for settings to take effect.

        Registry EnableIISManagerAuthentication
        {
            Key = "HKLM:\SOFTWARE\Microsoft\WebManagement\Server"
            ValueName =  "RequiresWindowsCredentials"
            ValueData = 0
            ValueType = "Dword"
        }
nzspambot commented 7 years ago

@artisticcheese yep that looks to be correct 👍

nzspambot commented 7 years ago

@artisticcheese ok added this "untested" on my branch if you want to check it out

Still need todo the int tests.

BTW what do you think about the name? I'm not overly happy with what I've used TBH

artisticcheese commented 7 years ago

I have no idea how to test this functionality. I downloaded your branch. How do I use modules/DSC resources in your branch instead of the ones which are already installed on my system

johlju commented 6 years ago

Reopened PR https://github.com/PowerShell/xWebAdministration/pull/281 and labeled it as abandoned so someone else can continue the work on this.