I have server 2012 box that was dying. We recently built new server 2016 box and migrated AD and DATA to new server. I now need to completely uninstall exchange 2010 from old server do that I can demote and eventually remove from network. Exchange mailboxes and database will NEVER be used again. I have tried to uninstall through Add/Remove programs but, as expected, that did not work. I have also followed many online "solutions" to no avail. Any help getting Exchange 2010 off the server would be appreciated.
When I run cmdlet get-mailboxdatabase "databasename" | get-mailbox it comes back empty so I believe all of the mailboxes are gone contrary to the attached file.
Also the errors state that I need to be a member of Organization Management role group or Enterprise Admins group. I am currently a member of both