Skip to Main Content
Exchange Server Cookbook
book

Exchange Server Cookbook

by Paul Robichaux, Missy Koslosky, Devin L. Ganger
June 2005
Intermediate to advanced content levelIntermediate to advanced
464 pages
13h 2m
English
O'Reilly Media, Inc.
Content preview from Exchange Server Cookbook

4.4. Determining Whether a Server Is a Front-End Server

Problem

You need to determine whether an Exchange server is acting as a front-end server.

Solution

Using a graphical user interface

  1. Launch the Exchange System Manager (Exchange System Manager.msc).

  2. In the left pane, expand the appropriate Administrative Groups container and expand the Servers container.

  3. Right-click an Exchange server object and select Properties.

  4. Select the General tab; if the This is a front-end server checkbox is selected, the server is acting as a front-end server; if it is unchecked, it's not. In that case, the server may be a back-end, public folder, or SMTP server.

  5. Repeat steps 3 and 4 for each Exchange server you're interested in.

Using a command-line interface

The following command will query Active Directory for servers that have the ServerRole attribute defined (see the Discussion section):

> dsquery * "CN=Administrative Groups, CN=<orgName>, CN=Microsoft 
Exchange,CN=Services,CN=Configuration,<ForestDN>" 
   -filter (&(objectcategory=msExchExchangeServer)(serverRole=1)) -attr cn msExchServerRole

For example, this command will find all front-end servers in the sixih.com AD domain:

> dsquery * "CN=Administrative Groups, CN=sixih, CN=Microsoft 
Exchange,CN=Services,CN=Configuration,DC=sixih,DC=com" 
   -filter (&(objectcategory=msExchExchangeServer)(serverRole=1)) 
-attr cn msExchServerRole

Using VBScript

' This code uses ADO to query the MSExchServerRole attribute for all servers ' in the domain. ' --------------SCRIPT CONFIGURATION------------------ ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft® Exchange Server 2010: Best Practices

Microsoft® Exchange Server 2010: Best Practices

Siegfried Jagott, Joel Stidley
Microsoft® Exchange Server 2003 Unleashed

Microsoft® Exchange Server 2003 Unleashed

Rand H. Morimoto - MCSE, Joe R. Coca, CISSP Kenton Gardinier - MCSE MCSA, MCSA Michael Noel - MCSE+I
Microsoft® Exchange Server 2013 Unleashed

Microsoft® Exchange Server 2013 Unleashed

Rand Morimoto, Michael Noel, Guy Yardeni, Chris Amaris, Andrew Abbate

Publisher Resources

ISBN: 0596007175Errata Page