I have uninstall mistakenly IIS from Server running Exchange

I have uninstall mistakenly IIS from Server running Exchange, now when I install IIS backup Exchange Console and PowerShell both not working and OWA not working.

PowerShell Error :

[server.cmi.local] Connecting to remote server failed with the following error message : The WinRM client received an H
TTP server error status (500), but the remote service did not include any other information about the cause of the fail
ure. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
   eption
    + FullyQualifiedErrorId : PSSessionOpenFailed
Failed to connect to any Exchange Server in the current site.
Please enter the Server FQDN where you want to connect:


Exchange Management Console :

The following error occurred when searching for On-Premises Exchange Server :

Connecting to remote server failed with the following error message : The WinRM client received an HTTP server error status (500), but the remote service did not include any other information about the cause of the failure. For more information, see about_Remote_troubleshooting Help topic. It was running the command 'Discover-ExchangeServer-UseWIA$true -SuppressError $true'.
Abdul Muqheeth MohammedITAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Liam_ukCommented:
If you've removed the IIS role from the server then you'll have borked all of the components in Exchange that require it, you will need to re-install the IIS server role and then try accessing OWA and the Management Tools again, if they still don't work then you may need to re-install the Exchange roles again (OWA and Management Tools).
0
Abdul Muqheeth MohammedITAuthor Commented:
I have uninstall IIS & CAS Role and reinstalled them both, all the settings of IIS for Exchange addedd automatically. Everything work perfectly fine.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Liam_ukCommented:
I gave the solution but the person asking the question never accepted my answer as the solution
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.

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.