Exchange Tip: Exchange Virtual Directory URLs


Here is a one-line cmdlet for gathering all Exchange Virtual Directory URLs:

Get-ActiveSyncVirtualDirectory
Get-AutodiscoverVirtualDirectory
Get-EcpVirtualDirectory
Get-OabVirtualDirectory
Get-OwaVirtualDirectory
Get-PowerShellVirtualDirectory
Get-WebServicesVirtualDirectory

Get-Command -Verb "Get" -Noun "*VirtualDirectory"|%{Invoke-Expression -Command "Get-ClientAccessServer | $_ -ADPropertiesOnly |select server,name,*ternalUrl"}|sort -Property server

6- 11- 2013 11-53-55

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s