CmdID / PowerShell / Cmdlets / Test
Test-ActiveSyncConnectivity
Use the Test-ActiveSyncConnectivity cmdlet to test connectivity to Microsoft Exchange ActiveSync virtual directories. Exchange PowerShell reference
From the Exchange PowerShell reference 15 parameters Its page in the reference
Parameters
-ClientAccessServerThe ClientAccessServer parameter specifies the Exchange server to test.-URLThe URL parameter specifies the URL that's used to connect to the Exchange ActiveSync virtual directory.-AllowUnsecureAccessThe AllowUnsecureAccess switch allows the test to continue over an unsecured channel that doesn't require Transport Layer Security (TLS).-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-LightModeThe LightMode switch tells the command to perform only a subset of the tests.-MailboxCredentialThe MailboxCredential parameter specifies the mailbox credential to use for a single mailbox test.-MailboxServerThe MailboxServer parameter specifies the Exchange Mailbox server that you want to test.-MonitoringContextThe MonitoringContext switch includes the associated monitoring events and performance counters in the results.-MonitoringInstanceThe MonitoringInstance parameter specifies an identifier for this task when the test is run from Microsoft System Center Operations Manager (SCOM).-ResetTestAccountCredentialsThe ResetTestAccountCredentials switch resets the password for the test account that's used to run this command.-TimeoutThe Timeout parameter specifies the amount of time (in seconds) to wait for a response from the command.-TrustAnySSLCertificateThe TrustAnySSLCertificate switch allows Exchange to accept certificates from untrusted certification authorities (CAs).-UseAutodiscoverForClientAccessServerThe UseAutodiscoverForClientAccessServer switch specifies whether the test should use the Autodiscover service to locate the Exchange ActiveSync virtual directory.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.