Lookup CAS server via Active Directory

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?
LVL 1
rbichonAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
endital1097Connect With a Mentor Commented:
there is no "master" cas server
you could use powershell as FDiskWizard provided plus the cmdlet

Get-ClientAccessServer
0
 
FDiskWizardCommented:
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. "
0
 
rbichonAuthor Commented:
The application I need it in is vb.net. Can powershell be run from vb.net?
0
 
rbichonAuthor Commented:
Is there a way to determine which internal IP address a certain port is forwarded to? (i.e. port 25)
0
 
endital1097Commented:
look at the virtual server settings
exchange 2007/2010 look at the receive connectors
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.