Add-MW_Mailbox -Ticket <Ticket> -EndpointUrl <string> -ConnectorId <guid> [-Id <guid>] [-CustomerEndUserId <guid>] [-CreateDate <datetime>] [-UpdateDate <datetime>] [-ExportEmailAddress <string>] [-ExportPassword <string>] [-ExportUserName <string>] [-Flags <MailboxFlags>] [-DisabledMailboxItemTypes <MailboxItemTypes>] [-DisabledMailboxExtendedItemTypes <string>] [-FolderFilter <string>] [-PublicFolderPath <string>] [-ImportEmailAddress <string>] [-ImportPassword <string>] [-ImportUserName <string>] [-AdvancedOptions <string>] [-LicensesUsed <long>] [-LastLicensesUsed <long>] [-LastCorrelationId <guid>] [-Categories <string>] [-ItemEndDate <datetime>] [-ItemStartDate <datetime>] [-ExportLibrary <string>] [-ExportUrl <string>] [-ImportLibrary <string>] [-ImportUrl <string>] [-Token <string>] [-AccessToken <string>] [-MspcSynchronizationDate <datetime>] [-SyncSubscriptionStatus <SubscriptionStatus>] [-Status <UserStatus>] [-AccessLevel <string>] [<CommonParameters>]
Add-MW_Mailbox -Ticket <Ticket> -ConnectorId <guid> [-Environment <string>] [-Id <guid>] [-CustomerEndUserId <guid>] [-CreateDate <datetime>] [-UpdateDate <datetime>] [-ExportEmailAddress <string>] [-ExportPassword <string>] [-ExportUserName <string>] [-Flags <MailboxFlags>] [-DisabledMailboxItemTypes <MailboxItemTypes>] [-DisabledMailboxExtendedItemTypes <string>] [-FolderFilter <string>] [-PublicFolderPath <string>] [-ImportEmailAddress <string>] [-ImportPassword <string>] [-ImportUserName <string>] [-AdvancedOptions <string>] [-LicensesUsed <long>] [-LastLicensesUsed <long>] [-LastCorrelationId <guid>] [-Categories <string>] [-ItemEndDate <datetime>] [-ItemStartDate <datetime>] [-ExportLibrary <string>] [-ExportUrl <string>] [-ImportLibrary <string>] [-ImportUrl <string>] [-Token <string>] [-AccessToken <string>] [-MspcSynchronizationDate <datetime>] [-SyncSubscriptionStatus <SubscriptionStatus>] [-Status <UserStatus>] [-AccessLevel <string>] [<CommonParameters>]
Add-MW_Mailbox adds a(an) MW_Mailbox. Represents a mailbox. A mailbox represents a migration item inside a migration project.
Paremeter specs:
Required | True |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | True |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | True |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Available values are listed below.
Value | Description |
---|---|
None | None. |
Contact | Contact. |
Calendar | Calendar. |
Mail. | |
Journal | Journal. |
Note | Note. |
Task | Task. |
Folder | Folder. |
Rule | Rule. |
Conversation | Conversation. |
ContactGroup | Contact group. |
DocumentFile | Document File. |
Song | Song. |
Permissions | Permissions. |
ArchiveSlice | Archive slices. |
ArchiveFileMetadata | Archive file metadata. |
ArchiveFile | Archive file. |
ArchiveEmailAddress | Archive email addresses. |
ArchiveEmail | Archive email. |
MassStorageFile | Archive file. |
SecurityGroup | Security Group. |
PermissionLevels | Permission Levels. |
DocumentLibraryPermissions | Document Library Permissions. |
List | Lists. |
EAMExtractionItem | EAM Extraction Item. |
DatabaseItem | Database item. |
Shortcut | Shortcut file object. |
Structure | Structure/scaffolding/skeleton for the migration. |
Metadata | Metadata. |
Version | Version. |
OneNoteTab | OneNote tab migration for Microsoft Teams. |
PrivateChat | Private chat migration. |
All | All flags. |
NewItemTypeIdentifier | This is considered as a decider bit to move towards using new itemtypes (Which shall be implemented soon). Any more fields beyond this should not be used as it will result in undesirable effects. Contact Varadarajan Ganesan for more info. |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Available values are listed below.
Value | Description |
---|---|
BT | Represents BT |
Beta | Represents Beta |
Develop | Represents Develop |
Release | Represents Release |
Test | Represents Test |
China | Represents China |
Germany | Represents Germany |
Alpha | Represents Alpha |
Today | Represents Today |
Sandbox-02 | Represents Sandbox-02 |
Sandbox-03 | Represents Sandbox-03 |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Available values are listed below.
Value | Description |
---|---|
None | None. |
NotifyAdminComplete | Notify the administrator upon completion. |
NotifyAdminFailed | Notify the administrator upon failure. |
NotifyExportComplete | Notify upon export completion. |
NotifyExportFailed | Notify upon export failure. |
NotifyImportComplete | Notify upon import completion. |
NotifyImportFailed | Notify upon import failure. |
RequestExportCredentialsUserName | Request export user names. |
RequestExportCredentialsPassword | Request export passwords. |
RequestImportCredentialsUserName | Request import user names. |
RequestImportCredentialsPassword | Request import passwords. |
DoNotSearchImportForDuplicates | Do not search for import duplicates. |
DoNotContinueFromLastKnownState | Do not continue from the last known state. |
DoNotMigrateCalendar | Do not migrate calendar items. |
DoNotMigrateContact | Do not migrate contact items. |
DoNotMigrateMail | Do not migrate mail items. |
ExportAdministrativeCredentialsSpecified | Use export administrative credentials. This property is deprecated but cannot be scoped to SOAP v1.0. We should not use it anymore. |
ImportAdministrativeCredentialsSpecified | Use import administrative credentials. This property is deprecated but cannot be scoped to SOAP v1.0. We should not use it anymore. |
DoNotMigrateJournal | Do not migrate journal items. |
DoNotMigrateNote | Do not migrate note items. |
DoNotMigrateTask | Do not migrate task items. |
DoNotQuarantineFatalErrors | Do not quarantine fatal errors. |
DoNotRetryErrors | Do not retry errors. |
LogFailedItemSubjects | Log failed item subjects. |
CleanupMigratedItems | Cleanup migrated items. |
DoNotMigrateRule | Do not migrate rules. |
ExchangeStubDetected | Exchange stub detected. |
ResetConnectors | Reset the connectors. |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Available values are listed below.
Value | Description |
---|---|
None | None. |
Active | The subscription has expired. |
Inactive | The subscription is active. |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Available values are listed below.
Value | Description |
---|---|
None | None. |
Expired | The subscription has expired. |
Active | The subscription is active. |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
Paremeter specs:
Required | False |
---|---|
ValueFromPipeline | False |
ValueFromPipelineByPropertyName | False |
System.Object
-------------------------- Example 1 -------------------------
# Create an migration item with export, import credentials
$mailbox = Add-MW_Mailbox -Ticket $ticket -ConnectorId $connector.Id `
-ImportEmailAddress import@email.com -ExportEmail export@email.com -ExportPassword your_export_password -ImportPassword your_import_password `
-ExportUserName exprot@email.com -ImportUserName import@email.com
-------------------------- Example 2 -------------------------
# Create an migration item with just import, export emails
# Username and password are not needed if admin credentials are provided in the mailbox project (Mailbox Connector)
$mailbox = Add-MW_Mailbox -Ticket $ticket -ConnectorId $connector.Id -ImportEmailAddress import@email.com -ExportEmail export@email.com