troubleshooting Question

Remove Exchange 2013 CAS roles when server is already gone?

Avatar of Steven Helms
Steven HelmsFlag for United States of America asked on
ExchangePowershell* roles
7 Comments2 Solutions309 ViewsLast Modified:
Is there a way to remove CAS roles and anything else when the server is already gone?
I have three servers EX1, EX2 and EX3.  How can I remove EX2?
Here is  what I receive with one PowerShell command.
[PS] C:\Windows\system32>Get-AutoDiscoverVirtualDirectory

Name                                    Server                                  InternalUrl
----                                    ------                                  -----------
Autodiscover (Default Web Site)         EX1
The task wasn't able to connect to IIS on the server 'EX2.example.local'. Make sure that the server exists and
can be reached from this computer: The RPC server is unavailable.
    + CategoryInfo          : ReadError: (EX2\Autodiscover (Default Web Site):ADObjectId) [Get-AutodiscoverVirtualDire
   ctory], IISNotReachableException
    + FullyQualifiedErrorId : [Server=EX1,RequestId=351ddc1e-65ff-4555-8e45-7a469fda99e1,TimeStamp=3/26/2017 5:59:41 P
   M] [FailureCategory=Cmdlet-IISNotReachableException] 30AB6771,Microsoft.Exchange.Management.SystemConfigurationTas
  ks.GetAutodiscoverVirtualDirectory
    + PSComputerName        : ex1.example.local

Autodiscover (Default Web Site)         EX3


[PS] C:\Windows\system32>
ASKER CERTIFIED SOLUTION
Adam Brown
Cloud Security Consultant
Join our community to see this answer!
Unlock 2 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros