CmdID / PowerShell / Cmdlets / Test
Test-PowerShellConnectivity
Use the Test-PowerShellConnectivity cmdlet to test client connectivity to Exchange remote PowerShell virtual directories. Exchange PowerShell reference
From the Exchange PowerShell reference 13 parameters Its page in the reference
Parameters
-ClientAccessServerThe ClientAccessServer parameter specifies the Exchange server to test.-ConnectionUriThe ConnectionUri parameter specifies the URL of the remote PowerShell virtual directory to test, for example, https://contoso.com/powershell.-TestCredentialThe TestCredential parameter specifies the credentials to use for the test.-AuthenticationThe Authentication parameter specifies the type of authentication that's used to connect.-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.-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.-ResetTestAccountCredentialsThe ResetTestAccountCredentials switch resets the password for the test account that's used to run this command.-TestTypeThe TestType parameter specifies whether the command tests internal or external URLs.-TrustAnySSLCertificateThe TrustAnySSLCertificate switch allows Exchange to accept certificates from untrusted certification authorities (CAs).-VirtualDirectoryNameThe VirtualDirectoryName parameter specifies the name of the remote PowerShell virtual directory that you want to test.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.