Need help Reinstalling OWA Exchange 2010

Last night the Exchange VM got hung it was in the process of shutting down for a while, then I forced shutdown the whole Hyper-V server. After it came back up, OWA and obviously Exchange on the phones stopped working. In my attempt to repair I completely Zapped the IIS OWA Virtual Directory, actually I ended up uninstalling IIS altogether. I did this : http://keshwarsblog.com/2011/how-to-reset-iis7-on-windows-server-2008r2/
 
I readded IIS back and was hoping there was a repair function to add it back via the Exchange installer but there is no option. When I run the Exchange 2010 installer, it detect Exchange is already installed and only gives me an option to add features. I've attached a snip of what the IIS looks like currently.Current how IIS looks like.
I need help in restoring OWA functionality back, any help would be appreciated
z969307Asked:
Who is Participating?
 
Simon Butler (Sembee)ConsultantCommented:
The SSL certificate is bound to the web site, but is installed on the server.
Therefore the certificate probably does not have to be reinstalled, but may have to be enabled again. You will be able to do that through EMC once you have the virtual directories recreated.

Simon.
0
 
Simon Butler (Sembee)ConsultantCommented:
You need to recreate the virtual directories.
You will have to use PowerShell to do that.
http://technet.microsoft.com/en-us/library/ff629372(v=exchg.141).aspx

However starting Exchange Management Shell isn't going to work because you have lost the PowerShell virtual directory as well.

Therefore start normal PowerShell and run this command:

New-PowerShellVirtualDirectory -Name Powershell -RequireSSL:$False

Run IIS RESET and then Exchange Management Shell should load, allowing you to recreate the virtual directories.

Note, you will probably have to do the remote bit as well, as you need to remove the reference in Exchange.

Simon.
0
 
z969307Author Commented:
Great, i will look this over and attempt it.
Would this also require to re-install the SSL that was in place?
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
z969307Author Commented:
When I run the above command I am getting this error and the user has full permission and  is domain/enterprise/schema admin

PS Cmd error
0
 
Simon Butler (Sembee)ConsultantCommented:
Try running this command first:
add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010

Then run the new-powershellvirtualdirectory command

Simon.
0
 
z969307Author Commented:
Thank you Simon. This became a critical situation, spent almost 9 hours on this yesterday.
Ended up installing a 2nd Exchange with the CAS role and things are stable now.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.