Decommissioned Exchange Server 2007 still exist in powershell result ?

Hi All,

When I executed the following powershell script:

Get-ExchangeServer | Select Name, ExchangeVersion, Edition, IsHubTransportServer, IsClientAccessServer, IsExchange2007OrLater, IsE14OrLater, AdminDisplayVersion | ft -AutoSize

Surprisingly, the result returns the previous Exchange Server 2007 that was decommissioned long time ago by my previous predecessors.

here's the result:

Name             ExchangeVersion  Edition    IsHubTransportServer IsClientAccessServer IsExchange2007OrLater IsE14OrLater AdminDisplayVersion       
----             ---------------  -------    -------------------- -------------------- --------------------- ------------ -------------------       
MAILBOX          0.1 (8.0.535.0) Enterprise                False                False                  True        False  Version 8.2 (Build 176.2) 
EXHTCASMAIL01    0.1 (8.0.535.0) Enterprise                 True                 True                  True         True  Version 14.2 (Build 247.5)
EXHTCASMAIL02    0.1 (8.0.535.0) Enterprise                 True                 True                  True         True  Version 14.2 (Build 247.5)
EXMAILBOX02      0.1 (8.0.535.0) Enterprise                False                False                  True         True  Version 14.2 (Build 247.5)
EXMAILBOX01      0.1 (8.0.535.0) Enterprise                False                False                  True         True  Version 14.2 (Build 247.5)

Open in new window

So can I just leave it as it is or do I need to delete it manually from ADSI edit but not sure how to do it safely without causing any impact to the current Exchange Server 2010 SP2 environment.

Any idea would be appreciated.

Senior IT System EngineerIT ProfessionalAsked:
Who is Participating?
VB ITSConnect With a Mentor Specialist ConsultantCommented:
There are several areas that you'll need to check and remove references to the old Exchange 2007 server:

In ADSIedit (Start  > Run > type adsiedit.msc) > click on Action in the toolbar > Connect To... > select Configuration under Select a well known Naming ContextOK > navigate to CN=Configuration,DC=domain,DC=com > CN=Services > CN=Microsoft Exchange > CN=Organization > CN=Administrative Groups > CN=Servers > if you see the old server in here then right click and Delete it

If you recall the name of the databases on the old server then remove them from here: CN=Configuration,DC=domain,DC=com > CN=Services > CN=Microsoft Exchange > CN=Organization > CN=Administrative Groups > Databases
If you do not recall the database name or you're not sure, do not touch anything in this area as you can break your Exchange environment

Next we need to check in AD:
In Active Directory Users and ComputersMicrosoft Exchange Security Groups OU > check the Exchange Servers and Exchange Trusted Subsystem groups to ensure the old server isn't in there. If it is, remove it from these groups.

If the old VM is completely gone then also remove the computer object for the server in ADUC as well as the A record for it in DNS.

If the server is online then you can gracefully uninstall the Exchange server. If not then you can safely remove the entries from ADSIedit.
Senior IT System EngineerIT ProfessionalAuthor Commented:
the VM has been deleted fro the environment.
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Senior IT System EngineerIT ProfessionalAuthor Commented:
Cool, thanks for the suggestion.

So what do I need to do to backup the AD data before deleting the stuff from ADSI edit ?
VB ITSSpecialist ConsultantCommented:
Do you only have the one Domain Controller? If so you can just take a System State backup of your DC.
Senior IT System EngineerIT ProfessionalAuthor Commented:
I got three DC as listed under System Settings tab on Mailbox server property window.
VB ITSSpecialist ConsultantCommented:
Without knowing more about your environment I can only suggest you follow your regular internal backup procedures for whenever you make any major changes to your environment.
All Courses

From novice to tech pro — start learning today.