Topic Last Modified: 2008-04-21

The Microsoft Exchange Server Analyzer uses the following Exchange Management Shell cmdlets to query for the values of the VirtualDirectoryName and WebsiteName properties of any target Exchange 2007 servers:

Exchange Management Shell Cmdlet Description
Copy Code
Get-ActiveSyncVirtualDirectory

Retrieves the Microsoft Exchange ActiveSync settings that are configured on the Exchange ActiveSync web site.

Copy Code
Get-AutodiscoverVirtualDirectory

Retrieves the settings for the Autodiscover virtual directory on a computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

Copy Code
Get-WebServicesVirtualDirectory

Retrieves the information for the virtual directory named EWS in the Active Directory directory service from a computer that is running Microsoft Exchange Server 2007 with the Client Access server role installed.

Copy Code
Get-OwaVirtualDirectory

Retrieves all Outlook Web Access virtual directories on a computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

Copy Code
Get-OabVirtualDirectory

Retrieves configuration information of offline address book (OAB) distribution points.

Copy Code
Get-UMVirtualDirectory

Retrieves the configuration settings for a Unified Messaging virtual directory on a computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

The VirtualDirectoryName parameter returns a string that defines the name of the virtual directory and the WebsiteName parameter returns a string that defines the name of the IIS web site that is used by Exchange.

The Exchange Server Analyzer tool then queries the Internet Information Services (IIS) metabase for the value of the ServerState property from the following location:

The ServerState property presents the current state of the server instance. The state codes, and the corresponding states, are as follows:

Server State Code State

1

Starting

2

Started

3

Stopping

4

Stopped

5

Pausing

6

Paused

7

Continuing

If the Exchange Server Analyzer determines that the ServerState code is something other than 2 (started) for any target web site, the Exchange Server Analyzer displays a warning.

This warning means that an IIS web site needed by an Exchange service is not currently in a started state and the dependent Exchange service may not be available.

To address this warning, use the IIS manager MMC snap-in to start the specified web site.

To Start the web site using the IIS MMC snap-in
  1. Click Start, click Programs, click Administrative Tools, and then click Internet Information Services (IIS) Manager.

  2. Double-click the ServerName to view the web sites. Right-click the relevant web site, and then click Start.