Can't recreate Outlook Anywhere setup after deleting RPC in IIS7
Posted on 2008-10-22
I was having issues with Outlook Anywhere not working, so I decided to run the script again to recreate the app in IIS7. I am running Exchange 2007 in Server 2008 (64bit) with IIS 7. What I did was run Enable-OutlookAnywhere with the proper details and it gave me the error:
Enable-OutlookAnywhere : The virtual directory 'Rpc' already exists under 'servername/Default Web Site'.
Parameter name: VirtualDirectoryName
At line:1 char:23
+ Enable-OutlookAnywhere <<<< -Server:servername -ExternalHostName:mail.website.com
So I probably made a mistake and simply deleted RPC from IIS7 but it still says it already exists.
How do I completely remove this virtual directory?