Help completely removing old exchange 2013 installation from domain controller.

I had exchange 2013 installed on a virtual machine on my test Network, and it was working and I was able to send email to clients on my network. I tried to update exchange with cumulative update 20. I installed the prerequisite and after the update started, it crashed on Step 2. I reinstalled the virtual machine so I know it’s clean.
I have backed up the domain controller and the virtual machine I will install exchange server onto.   I followed the instructions from different sites, and I think I have completely removed the previous exchange installation from the domain controller.  Is there a powershell command that can help me confirm that I have completely removed all of the previous exchange installation from the domain controller.? I want to make sure that exchange will install correctly. Any assistance will be appreciated.
Thank you.
Rudia PlagaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Valentina PerezExchange ServersCommented:
Hi Rudia,

Please check if the exchange server exists. Run the following command:

Get-ExchangeServer

Verify that the old exchange do not exist.

Regards
Valentina
Rudia PlagaAuthor Commented:
Thank you for your help. Forgive me for my ignorance, but when I run:

Get-ExchangeServer

in powershell, it says:

the term 'get-exchangeserver' is not recognized as the name of a cmdlet.

I am studying for my certification, and I am just learning how to use power shell.
Valentina PerezExchange ServersCommented:
HI Rudia,

You need to run the command in Exchange Management Shell.

Regards
Valentina
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

Rudia PlagaAuthor Commented:
Thank you. I understand. I don't have exchange installed yet on the virtual machine. I'm trying to to make sure the previous exchange installation on the domain controller has been completely removed. Is there a command I can run on the domain controller to check this?
Thank You.
Valentina PerezExchange ServersCommented:
Hi Rudia,

Try the following commands in Powershell:

Add-Pssnapin *exch*

Get-Exchange Server

Regards
 Valentina
Rudia PlagaAuthor Commented:
Neither one of those commands did anything. Thank you anyway.  I will start the exchange install tomorrow. I have installed exchange 2013 on my test server before. I just wanted to make sure the install doesn't fail. Let's see what happens. I'll let you know.
Thanks.
Valentina PerezExchange ServersCommented:
Hi Rudia,

When you run: Add-Pssnapin *exch*

It should add the Exchange powershell

If you do not receive any message, it seems that you have not installed Exchange.

Regards
Valentina
Rudia PlagaAuthor Commented:
Okay, I will try this when I get exchanged installed on the virtual machine.
Thanks.
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
Virtualization

From novice to tech pro — start learning today.