Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 111
  • Last Modified:

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.

Thanks
0
Senior IT System Engineer
Asked:
Senior IT System Engineer
  • 3
  • 3
1 Solution
 
R--RCommented:
Hi,

If the server is online then you can gracefully uninstall the Exchange server. If not then you can safely remove the entries from ADSIedit.
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
the VM has been deleted fro the environment.
0
 
VB ITSCommented:
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.
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
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 ?
0
 
VB ITSCommented:
Do you only have the one Domain Controller? If so you can just take a System State backup of your DC.
0
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
I got three DC as listed under System Settings tab on Mailbox server property window.
0
 
VB ITSCommented:
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.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now