Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is it possible to execute the "Enable Remote Connections" step from this instructions ("Remote Administration for IIS Manager") using Powershell?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

From this page on IIS Remote Mgmt, it appears you will need to add a registry key:

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebManagement\Server /v EnableRemoteManagement /t REG_DWORD /d 1

To add a new regkey wiht powershell, try:

New-Item -path Registry HKLM\SOFTWARE\Microsoft\WebManagement\Server\EnableRemoteManagement -PropertyType DWord -Value 1

Please note this is not tested.

share|improve this answer
    
I would like to avoid changing the registry "directly" but if that's the only option, well, that will be. –  Milen A. Radev Feb 24 '12 at 12:17
    
@MilenA.Radev - I will vouch for this answer, this is the only way to configure that setting. –  Kev Feb 24 '12 at 12:53
    
@Milen - time to live on the edge :-) –  uSlackr Feb 24 '12 at 13:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.