Commands › Exchange Online
Get-ClientAccessServer
View settings that are associated with the Client Access server role. **Note**: In Exchange 2013 or later, use the Get-ClientAccessService cmdlet instead. If you have scripts that use Get-ClientAccessServer, update them to use Get-ClientAccessService.
Quick start script
# Get-ClientAccessServer — 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-ClientAccessServer | Format-List
# 3. Export for evidence / drift tracking
Get-ClientAccessServer | Export-Clixml .\ClientAccessServer-$(Get-Date -Format yyyyMMdd).xml
Syntax
Get-ClientAccessServer [[-Identity] <ClientAccessServerIdParameter>]
[-DomainController <Fqdn>]
[-IncludeAlternateServiceAccountCredentialPassword]
[-IncludeAlternateServiceAccountCredentialStatus]
[<CommonParameters>]
Parameters (4)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.