Skip to content

Latest commit

 

History

History

Test-Autodiscover

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Test Autodiscover

Author:

Agustin Gallegos

Summary

Test AutodiscoverV2 either against Office365 ( default server name ) or Exchange On-premises.
You can select one of the available protocols:

AutodiscoverV2,ActiveSync,Ews,Rest,Substrate,SubstrateNotificationService,SubstrateSearchService,OutlookMeetingScheduler.

Examples

Example 1

PS C:\> Test-Autodiscover -EmailAddress onpremUser@contoso.com -Protocol AutodiscoverV2 -ShowQueriedUrl

In this example it will show the autodiscover URL for the onpremises user, queried against outlook.office365.com

Example 2

PS C:\> Test-Autodiscover -EmailAddress cloudUser@contoso.com -Protocol EWS -Server mail.contoso.com -ShowQueriedUrl

In this example it will show the EWS URL for the cloud user, queried against an on-premises endpoint 'mail.contoso.com'.

Parameters list

PARAMETER EmailAddress

Email address of the user account you want to test.

PARAMETER Server

This is an optional parameter. In case you want to specifically test AutodiscoverV2 against an on-premises FQDN or Office 365. The default value is "Outlook.office365.com".

PARAMETER Protocol

Select one of the following mandatory values: "AutodiscoverV2","ActiveSync","Ews","Rest","Substrate","SubstrateNotificationService","SubstrateSearchService","OutlookMeetingScheduler".

PARAMETER ShowQueriedUrl

This is an optional parameter. It will show the QueriedUrl in case you want to copy and paste into a browser.

Version History:

1.00 - 10/11/2020

  • First Release

1.00 - 10/11/2020

  • Project start