Get-SmDefaultO365EwsUrl

Detailed Description

For Simply Migrate jobs interacting with Microsoft Office 365 Exchange, it is recommended to use the Exchange Web Services Url for connections.  Simply Migrate has this helper cmdlet to get the default Microsoft Office 365 Exchange Web Services Url.

Syntax

Get-SmDefaultO365EwsUrl  [<CommonParameters>]

Examples

Get-SmDefaultO365EwsUrl is a helper cmdlet.  the following example if an excerpt for a New-SmJob where Microsoft Office 365 is a Source.

New-SmJob -Source Exchange -SourceInput use@domain.com -SourceEwsUrl (Get-SmDefaultO365EwsUrl) .... 

Parameters

<CommonParameters>
    This cmdlet supports the common parameters: Verbose, Debug,
    ErrorAction, ErrorVariable, WarningAction, WarningVariable,
    OutBuffer, PipelineVariable, and OutVariable. For more information, see
    about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).