Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Lookup CAS server via Active Directory

Posted on 2010-09-24
5
Medium Priority
?
411 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 2000 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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Are you an Exchange administrator employed with an organization? And, have you encountered a corrupt Exchange database due to which you are not able to open its EDB file. This article will explain all the steps to repair corrupt Exchange database.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses

963 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