Can someone help me with this?


  • Error:
    The following error was generated when "$error.Clear(); 
              $vdirName = "PowerShell";
              $InternalPowerShellUrl="http://" + $RoleFqdnOrName + "/powershell";
              new-PowerShellVirtualDirectory $vdirName -Role Mailbox -InternalUrl $InternalPowerShellUrl -DomainController $RoleDomainController -BasicAuthentication:$false -WindowsAuthentication:$false -RequireSSL:$false -WebSiteName "Default Web Site" -AppPoolId "MSExchangePowerShellFrontEndAppPool";
              new-PowerShellVirtualDirectory $vdirName -Role Mailbox -DomainController $RoleDomainController -BasicAuthentication:$false -WindowsAuthentication:$true -RequireSSL:$true -WebSiteName "Exchange Back End" -Path ($RoleInstallPath + "ClientAccess\PowerShell-Proxy");
            " was run: "The AD configuration for virtual directory 'PowerShell' already exists in 'CN=PowerShell (Exchange Back End),CN=HTTP,CN=Protocols,CN=EEI-SVR-10710,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=enMOTION NETWORx,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=ENMOTION,DC=LOCAL', please remove this AD configuration manually.
    Parameter name: VirtualDirectoryName".
    Friday, April 26, 2013 10:02 PM


  • Hi
     1. Open ADSIEDIT.msc and navigate to SERVER - PROTOCOLS – HTTP, then delete PowerShell VD.

    2. Log onto the server , launch IIS Manger and remove the PowerShell VD.

    3.Run this command from the Elevated cmd prompt -> cscript.exe Adsutil.vbs delete w3svc/1/root/PowerShell

    4. Restart Server

    Terence Yu

    TechNet Community Support

    Monday, April 29, 2013 2:59 AM