Lookup CAS server via Active Directory

Posted on 2010-09-24
Last Modified: 2012-05-10
I would like to know how to lookup which exchange server is acting as the master CAS server on our domain. How is this done in VB.Net?
Question by:rbichon
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 12

Expert Comment

ID: 33756003
Hmm, does it HAVE to be VB.NET?
I believe Powershell cmdlets will give you all of the roles with:
> get-ExchangeServer

From the net:
"If you are not sure about the server, you can run Get-ExchangeServer | select Name,ServerRole
...  and it will list all Exchange Servers of your organization and their respective roles. "
LVL 32

Accepted Solution

endital1097 earned 500 total points
ID: 33756228
there is no "master" cas server
you could use powershell as FDiskWizard provided plus the cmdlet


Author Comment

ID: 33758577
The application I need it in is Can powershell be run from

Author Comment

ID: 33823921
Is there a way to determine which internal IP address a certain port is forwarded to? (i.e. port 25)
LVL 32

Expert Comment

ID: 33823992
look at the virtual server settings
exchange 2007/2010 look at the receive connectors

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question