Commands › Exchange Online
Get-OutlookAnywhere
View Outlook Anywhere virtual directories that are used in Internet Information Services (IIS) on Microsoft Exchange servers.
Quick start script
# Get-OutlookAnywhere — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Run and inspect
Get-OutlookAnywhere -Server <ServerIdParameter> | Format-List
# 3. Export for evidence / drift tracking
Get-OutlookAnywhere | Export-Clixml .\OutlookAnywhere-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
Server
Get-OutlookAnywhere -Server <ServerIdParameter>
[-ADPropertiesOnly]
[-DomainController <Fqdn>]
[-ShowMailboxVirtualDirectories]
[<CommonParameters>]
Identity
Get-OutlookAnywhere [[-Identity] <VirtualDirectoryIdParameter>]
[-ADPropertiesOnly]
[-DomainController <Fqdn>]
[-ShowMailboxVirtualDirectories]
[<CommonParameters>]
Parameters (5)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.