We are running the following environment.
Domain Functional Level: Windows Server 2008 R2
Forest Functional Level: Windows Server 2008 R2
We have two Domain Controllers
Windows 2012 R2
Windows 2016 Standard Server
The 2012 server is running Azure AD connect to synch with O365.
We have a server running Windows 2008 R2 with Exchange 2010.
We no longer use the on-premises Exchange server, because we have moved to Office 365.
We need to remove Exchange, remove server from the domain and shut it down.
However due some recent changes, we are having problems with this server with Exchange Services no longer starting and Shell cannot connect to AD.
Consequently I am unable to perform a clean removal of mailboxes, database, and uninstall Exchange.
What are my options. Can I remove the existence of the Exchange components from ADSI? If so, what exactly will I need to remove?
Thanks in advance.