22 May 2012

Check Exchange 2010 internal and external URL configuration

To quickly get an overview of an Exchange system URL configuration, I recommend to use the following PowerShell commands:

Get-ActiveSyncVirtualDirectory   | ft server,*lur* -AutoSize
Get-AutodiscoverVirtualDirectory | ft server,*lur* -AutoSize
Get-ClientAccessServer           | ft name,  *lur* -AutoSize
Get-EcpVirtualDirectory          | ft server,*lur* -AutoSize
Get-OabVirtualDirectory          | ft server,*lur* -AutoSize
Get-OwaVirtualDirectory          | ft server,*lur* -AutoSize
Get-WebServicesVirtualDirectory  | ft server,*lur* –AutoSize

Output looks like that:

image

Host names can be different, but on small installation scenarios a common FQDN is used from both internal and external URL’s. Picture is good for checking the internalurl and externalurl formats.

2 comments:

  1. first! Thanks man, helped me make sure that all of my server URLs (internal and external) were setup properly. This is a serious pain when you are running exchange in hosted mode.

    ReplyDelete
  2. Perfect! I was looking for a set of commands I could program into a macro key so I can get all of the URLs with the press of one key.

    ReplyDelete