Commands › Exchange Online

Get-ClientAccessService

Exchange Online ExchangeOnlineManagement Get-*

View settings that are associated with the Client Access server role.

Quick start script

# Get-ClientAccessService — 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-ClientAccessService | Format-List

# 3. Export for evidence / drift tracking
Get-ClientAccessService | Export-Clixml .\ClientAccessService-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-ClientAccessService [[-Identity] <ClientAccessServerIdParameter>]
 [-DomainController <Fqdn>]
 [-IncludeAlternateServiceAccountCredentialPassword]
 [-IncludeAlternateServiceAccountCredentialStatus]
 [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-Identity ClientAccessServerIdParameter The Identity parameter specifies the server with the Client Access server role installed that you want to view.
-DomainController Fqdn The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name...
-IncludeAlternateServiceAccountCredentialPassword SwitchParameter The IncludeAlternateServiceAccountCredentialPassword switch specifies whether to include the password of the alternate service account in the results. You don't need to specify a value with this switch.
-IncludeAlternateServiceAccountCredentialStatus SwitchParameter The IncludeAlternateServiceAccountCredentialStatus parameter specifies whether to include the status of the alternate service account in the results. You don't need to specify a value with this switch.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.