You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/New-MigrationBatch.md
+110-6Lines changed: 110 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -261,7 +261,7 @@ Onboarding and offboarding in Exchange Online
261
261
262
262
- IMAP migration: This onboarding migration type migrates mailbox data from an IMAP server (including Exchange) to Exchange Online. For an IMAP migration, you must first provision mailboxes in Exchange Online before you can migrate mailbox data. For more information, see Example 7.
263
263
264
-
- G Suite migration: This onboarding migration type migrates mailbox data from a G Suite organization to Exchange Online. For a G Suite migration, you must first provision mail users (or mailboxes) in Exchange Online before you can migrate mailbox data.
264
+
- G Suite migration: This onboarding migration type migrates mailbox data from a G Suite organization to Exchange Online. For a G Suite migration, you must first provision mail users (or mailboxes) in Exchange Online before you can migrate mailbox data. For more information, see Example 10.
265
265
266
266
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
This example is the same as Example 8, but the TimeZone parameter is also used. Data migration for the batch will start, but won't complete until 09/01/2018 7:00 PM (PST). This method allows you to start a migration and then leave it to complete after business hours if your time zone is Pacific Standard Time.
A G Suite migration batch is created that uses the CSV migration file gmail.csv and includes the contents of the Paymeng label and only migrate the mails which were received after the time '2019/4/30 00:00' (local system time). This migration batch is pending until it's started with the Start-MigrationBatch cmdlet.
This parameter is available only in the cloud-based service.
677
689
678
-
The ContentFilter parameter uses OPath filter syntax to filter the messages by Received date. For example, `"Received -gt '8/23/2020'"`.
690
+
The ContentFilter parameter uses OPath filter syntax to filter the messages by Received date. Only contents that match the ContentFilter parameter will be moved to Exchange online. For example, `"Received -gt '8/23/2020'"`, `"Received -le '2019/01/01'"`, `"Received -gt '8/23/2015' -and Received -lt '8/23/2020'"`.
679
691
680
-
You can specify the date/time by using the ContentFilterLanguage parameter.
692
+
You can specify the language by using the ContentFilterLanguage parameter.
This parameter is available only in the cloud-based service.
697
709
698
-
The ContentFilterLanguage parameter specifies the date/time for the ContentFilter parameter.
710
+
The ContentFilterLanguage parameter specifies the language being used in the ContentFilter parameter for string searches.
699
711
700
712
Valid input for this parameter is a supported culture code value from the Microsoft .NET Framework CultureInfo class. For example, da-DK for Danish or ja-JP for Japanese. For more information, see [CultureInfo Class](https://docs.microsoft.com/dotnet/api/system.globalization.cultureinfo).
This parameter is available only in the cloud-based service.
791
803
792
-
For an IMAP migration, the ExcludeFolders parameter specifies mailbox folders that you don't want to migrate from the on-premises email system to the cloud-based mailboxes. Use folder names relative to the IMAP root on the on-premises mail server. Specify the value as a string array and separate multiple folder names with commas.
804
+
For an IMAP migration or G Suite migration, the ExcludeFolders parameter specifies mailbox folders that you don't want to migrate from the source email system to the cloud-based mailboxes. Specify the value as a string array and separate multiple folder names with commas.
805
+
806
+
For IMAP migration, use folder names relative to the IMAP root on the source mail server. For G Suite migration, use label names on the source mail server.
807
+
808
+
Folder names aren't case-sensitive, and there are no character restrictions. Use the following syntax:
809
+
810
+
\<FolderName\>/\*: Use this syntax to denote a personal folder under the folder specified in the SourceRootFolder parameter, for example, "MyProjects" or "MyProjects/FY2010".
811
+
812
+
\#\<FolderName\>\#/\*: Use this syntax to denote a well-known folder regardless of the folder's name in another language. For example, \#Inbox\# denotes the Inbox folder even if the Inbox is localized in Turkish, which is Gelen Kutusu. Well-known folders include the following types:
813
+
814
+
- Inbox
815
+
816
+
- SentItems
817
+
818
+
- DeletedItems
819
+
820
+
- Calendar
821
+
822
+
- Contacts
823
+
824
+
- Drafts
825
+
826
+
- Journal
827
+
828
+
- Tasks
829
+
830
+
- Notes
831
+
832
+
- JunkEmail
833
+
834
+
- CommunicatorHistory
835
+
836
+
- Voicemail
837
+
838
+
- Fax
839
+
840
+
- Conflicts
841
+
842
+
- SyncIssues
843
+
844
+
- LocalFailures
845
+
846
+
- ServerFailures
847
+
848
+
If the user creates a personal folder with the same name as a well-known folder and the \# symbol surrounding it, you can use a back slash (\\) as an escape character to specify that folder. For example, if a user creates a folder named \#Notes\# and you want to specify that folder, but not the well-known Notes folder, use the following syntax: \\\#Notes\\\#.
849
+
850
+
Wildcard characters can't be used in folder names.
This parameter is available only in the cloud-based service.
809
867
810
-
For an IMAP migration, the IncludeFolders parameter specifies mailbox folders that you want to migrate from the on-premises email system to the cloud-based mailboxes. Use folder names relative to the IMAP root on the on-premises mail server. Specify the value as a string array and separate multiple folder names with commas.
868
+
For an IMAP migration or G Suite migration, the IncludeFolders parameter specifies mailbox folders that you want to migrate from the on-premises email system to the cloud-based mailboxes. Use folder names relative to the IMAP root on the source mail server or use label names for G Suite migration. Specify the value as a string array and separate multiple folder names with commas.
869
+
870
+
For IMAP migration, use folder names relative to the IMAP root on the source mail server. For G Suite migration, use label names on the source mail server.
871
+
872
+
Folder names aren't case-sensitive, and there are no character restrictions. Use the following syntax:
873
+
874
+
\<FolderName\>/\*: Use this syntax to denote a personal folder under the folder specified in the SourceRootFolder parameter, for example, "MyProjects" or "MyProjects/FY2010".
875
+
876
+
\#\<FolderName\>\#/\*: Use this syntax to denote a well-known folder regardless of the folder's name in another language. For example, \#Inbox\# denotes the Inbox folder even if the Inbox is localized in Turkish, which is Gelen Kutusu. Well-known folders include the following types:
877
+
878
+
- Inbox
879
+
880
+
- SentItems
881
+
882
+
- DeletedItems
883
+
884
+
- Calendar
885
+
886
+
- Contacts
887
+
888
+
- Drafts
889
+
890
+
- Journal
891
+
892
+
- Tasks
893
+
894
+
- Notes
895
+
896
+
- JunkEmail
897
+
898
+
- CommunicatorHistory
899
+
900
+
- Voicemail
901
+
902
+
- Fax
903
+
904
+
- Conflicts
905
+
906
+
- SyncIssues
907
+
908
+
- LocalFailures
909
+
910
+
- ServerFailures
911
+
912
+
If the user creates a personal folder with the same name as a well-known folder and the \# symbol surrounding it, you can use a back slash (\\) as an escape character to specify that folder. For example, if a user creates a folder named \#Notes\# and you want to specify that folder, but not the well-known Notes folder, use the following syntax: \\\#Notes\\\#.
913
+
914
+
Wildcard characters can't be used in folder names.
0 commit comments