Solved

Lookup CAS server via Active Directory

Posted on 2010-09-24
5
383 Views
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?
0
Comment
Question by:rbichon
  • 2
  • 2
5 Comments
 
LVL 12

Expert Comment

by:FDiskWizard
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. "
0
 
LVL 32

Accepted Solution

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

Get-ClientAccessServer
0
 
LVL 1

Author Comment

by:rbichon
ID: 33758577
The application I need it in is vb.net. Can powershell be run from vb.net?
0
 
LVL 1

Author Comment

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

Expert Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create an Accepted Domain 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 >> Ac…
To show how to generate a certificate request 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 Servers >> Certificates…

809 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