CmdID / PowerShell / Cmdlets / New
New-MigrationEndpoint
Use the New-MigrationEndpoint cmdlet to configure the connection settings for cross-forests moves, remote move migrations, cutover or staged Exchange migrations, IMAP migrations, and Google Workspace (formerly G Suite)… Exchange PowerShell reference
From the Exchange PowerShell reference 37 parameters Its page in the reference
Parameters
Show its 37 parameters
-NameThe Name parameter specifies the name you give to the new migration endpoint.-AutodiscoverThe Autodiscover switch specifies whether to get other connection settings for the on-premises server from the Autodiscover service for Exchange migrations.-ComplianceThe Compliance switch specifies that the endpoint type is compliance.-CredentialsThe Credentials parameter specifies the credentials to connect to the source or target endpoint for all Exchange migration types.-EmailAddressThe EmailAddress parameter specifies the email address used by the Autodiscover service or in some cases used to validate the endpoint when you specify the connection settings manually.-ExchangeOutlookAnywhereThe ExchangeOutlookAnywhere switch specifies the type of endpoint for staged and cutover migrations.-ExchangeRemoteMoveThe ExchangeRemoteMove switch specifies the type of endpoint for cross-forest moves and remote move migrations in a hybrid deployment.-GmailThe Gmail switch specifies the type of endpoint for Google Workspace migrations.-IMAPThe IMAP switch specifies the type of endpoint for IMAP migrations.-OAuthCodeThe OAuthCode parameter specifies the OAuth authorization code obtained from Google for creating a Google Workspace migration endpoint using the Google Marketplace app.-PSTImportThis parameter is reserved for internal Microsoft use.-PublicFolderThis parameter is reserved for internal Microsoft use.-PublicFolderDatabaseServerLegacyDNThis parameter is reserved for internal Microsoft use.-PublicFolderToUnifiedGroupThe PublicFolderToUnifiedGroup switch specifies that the endpoint type is public folders to Microsoft 365 Groups.-RemoteServerThe RemoteServer parameter specifies the FQDN of the remote server, which depends on the protocol type for moves:-RpcProxyServerThe RpcProxyServer parameter specifies the FQDN of the Exchange server in the on-premises Exchange organization that has the Client Access server role installed that directly accepts and proxies clie…-ServiceAccountKeyFileDataThe ServiceAccountKeyFileData parameter is used to specify information needed to authenticate as a service account.-SourceMailboxLegacyDNThe SourceMailboxLegacyDN parameter specifies the LegacyExchangeDN value of an on-premises mailbox that's used to test the ability of the migration service to create a connection using this endpoint.-AcceptUntrustedCertificatesThe AcceptUntrustedCertificates switch specifies whether to accept untrusted certificates from the remote server.-ApplicationIdThe ApplicationId parameter specifies the application ID of the app used to define cross-tenant authentication for remote move migrations.-AppSecretKeyVaultUrlThe AppSecretKeyVaultUrl parameter specifies the Azure Key Vault URL that points to the application secret used for cross-tenant authentication in remote move migrations.-AuthenticationThe Authentication parameter specifies the authentication method used by the on-premises mail server.-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.-ExchangeServerThe ExchangeServer parameter specifies the FQDN of the on-premises Exchange server that hosts the migrated mailboxes.-MailboxPermissionThe MailboxPermission parameter specifies what permissions to use to access the source mailbox during Outlook Anywhere onboarding (staged Exchange migration and cutover Exchange migration).-MaxConcurrentIncrementalSyncsThe MaxConcurrentIncrementalSyncs parameter specifies the maximum number of incremental syncs allowed per endpoint.-MaxConcurrentMigrationsThe MaxConcurrentMigrations parameter specifies the maximum number of mailboxes that are migrated during initial sync.-NspiServerThe NspiServer parameter specifies the remote Name Service Provider Interface (NSPI) server location for cutover and staged migrations.-PartitionThis parameter is reserved for internal Microsoft use.-PortThe Port parameter specifies the TCP port number used by the IMAP migration service to connect to the remote server.-RedirectUriThe RedirectUri parameter specifies the redirect URI registered for the Google Marketplace app used during OAuth authentication when creating a Google Workspace migration endpoint.-RemoteTenantThe RemoteTenant parameter specifies the remote tenant domain for cross-tenant mailbox move migrations.-SecurityThe Security parameter specifies the encryption method used by the remote mail server for IMAP migrations.-SkipVerificationThe SkipVerification switch specifies whether to skip verifying that the remote server is reachable when creating a migration endpoint.-TestMailboxThe TestMailbox parameter specifies an Exchange Online mailbox used as the target by the migration service to verify the connection using this endpoint.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.