[玩转系统] 邮箱迁移到Office 365 PowerShell迁移实体| 邮箱迁移第 1#5 部分
作者:精品下载站 日期:2024-12-14 09:06:35 浏览:15 分类:玩电脑
邮箱迁移到Office 365 PowerShell迁移实体| 邮箱迁移第 1#5 部分
当前文章是五篇文章系列中的第一篇文章,主题是使用 PowerShell 作为工具来获取有关从本地环境到 Office 365 (Exchange Online) 的邮箱迁移过程的信息。文章中,我们回顾了以下主题:
- 邮箱迁移过程中涉及的各种实体。
- 这些实体之间的关系。
- 我们用于处理每个“迁移实体”的 PowerShell 命令。
系列文章的内容
在第二篇文章中,我们回顾了可用于获取和导出有关邮箱迁移过程的信息的各种 PowerShell 命令,例如 Get-MoveRequest、Get-MoveRequestStatistics、 Get-MigrationUser、Get-MigrationUserStatistics 等。
在第三篇文章中,我们回顾如何使用我编写的基于菜单的 PowerShell 脚本,该脚本将简化以下过程:
- 使用远程 PowerShell 连接到 Exchange Online。
- 将有关迁移过程的信息导出到各种文件类型。
- 从本地环境(包括本地 Active Directory 和本地 Exchange)导出信息。
- 在 Exchange 本地环境中执行基本故障排除步骤。
本地 Exchange 与 Exchange Online
尽管当前文章系列的重点是通过将 Exchange 本地邮箱迁移到 Office 365 来实现的迁移过程,但我们查看的大多数概念和 PowerShell 命令也与基于 Exchange 本地的环境相关。
我们用于定义邮箱迁移过程的术语
邮箱移动
在基于 Exchange 的环境中,术语“邮箱迁移”被翻译为术语“邮箱移动”。
顾名思义,当我们将 Exchange 邮箱从 Exchange 数据库 A“迁移”到数据库 B,或从 Exchange 服务器 A 迁移到 Exchange 服务器 B(在我们的场景中,从 Exchange 本地基础设施迁移到 Exchange Online 基础设施)时,Exchange 服务器会与迁移过程作为“邮箱移动”。
移动请求
邮箱迁移的实现过程是“移动请求”
将成为邮箱“新主机”的 Exchange 服务器(“接收 Exchange 服务器”)向当前托管邮箱的 Exchange 服务器发送“移动请求”。
在我们的特定场景中,Exchange Online 服务器“请求”本地 Exchange 移动特定邮箱。
Exchange邮箱和Active Directory用户帐户的关系
尽管我们大多数时候使用术语“邮箱”,但需要强调的是,Exchange 邮箱不是一个“独立实体”。
相反,每个 Exchange 邮箱都与 Active Directory 用户(邮箱所有者)相关联。
因此,如果我们想要更准确,当我们使用术语“邮箱迁移”时,我们还与“用户帐户实体”相关联。与 Exchange 邮箱关联。
邮箱迁移过程涉及与 Exchange 邮箱关联的用户帐户,即“迁移的用户”。
“迁移的用户”这个术语可能有点令人困惑,因为实际上,我们不会中继迁移 Active Directory 用户帐户。
在 Office 365 基础设施中,我们假设邮箱迁移过程会将本地 Active Directory 用户帐户“复制”到云端,或者,另一种选择是使用将本地 Active Directory 用户帐户同步到本地的目录同步服务器。云(Azure Active Directory)。
邮箱迁移实体
“邮箱迁移过程”由几个“实体”组成。
在开始运行相关的 PowerShell 命令之前,重要的是我们要了解此过程(邮箱迁移到 Office 365)中涉及的各种“实体”的一般概念以及每个实体的“角色”。
在下图中,我们可以看到流程中涉及的“实体”的示例。
邮箱迁移到 Office 365 所涉及的“实体”以及关联的 PowerShell 命令
与邮箱迁移过程相关的 Exchange PowerShell cmdlet 使我们能够解决邮箱迁移过程中涉及的每个“实体”。
此“Get”PowerShell cmdlet 的目的是获取有关各种迁移实体的信息,例如每个实体的特定设置和属性、特定实体的状态等。
我们在当前文章中回顾的 PowerShell 命令是:
- 获取迁移端点
- 获取迁移批处理
- 获取移动请求
- Get-MoveRequestStatistics
- 获取迁移用户
- 获取迁移用户统计
在下图中,我们可以看到与用户帐户对象和 Exchange 邮箱对象关联的 PowerShell cmdlet。
在下图中,我们可以看到与迁移批处理对象和迁移端点对象关联的 PowerShell cmdlet。
作为逻辑容器的迁移批处理对象
关于邮箱迁移实体,我想提及的另一个概念是“迁移批次”的概念。
我们可以将“迁移批处理实体”视为一个逻辑容器,它“保存”已迁移的邮箱以及与每个 Exchange 邮箱关联的用户帐户。
当我们同时运行多个迁移批次时,在某些情况下,我们需要获取与特定迁移批次相关的所有迁移实体的信息。
在接下来的文章中 - 使用 PowerShell 查看和导出有关邮箱迁移到 Office 365 的信息 |第 3#5 部分和使用 PowerShell 查看和导出有关邮箱迁移到 Office 365 的信息 |第 4#5 部分,我们回顾了可用于获取有关对象信息的 PowerShell 命令,例如“移动请求”和“与特定迁移批次相关的迁移用户”。
迁移实体的简短描述
Migration EndpointGet-MigrationEndpointThe term Endpoint or Migration EndPoint, define a set of settings and credentials that Exchange Online use for “addressing” the Exchange on-Premises server.Each mailbox migration process (migration batch) must use an existing “Migration Endpoint”, that serves as the base for the mailbox migration process.
In other words – in case that the Migration EndPoint, was not created or in case that the Endpoint includes wrong settings such as wrong credentials or wrong Exchange On-Premises server name, the mailbox migration process cannot be executed.
Exchange Online support the option of using multiple “Migration EndPoints”.Migration BatchGet-MigrationBatchThe term “migration batch” serve for define a “logical container”, that contain one or many “move requests”, and the user accounts that are associated with each migrated mailbox.
In Office 365 (Exchange Online) environment, most of the time, the term “Migrated mailbox”, relates to Exchange On-Premises mailbox that is migrated to the cloud (Exchange Online).
In Exchange Hybrid environment, the term “Migrated mailbox” could also relate to “off boarding”, a scenario in which the mailbox migration is implemented by migrating Exchange Online mailbox to the Exchange on-Premises environment.Move RequestGet-MoveRequestGet-MoveRequestStatisticsThe term “Move Request” describe the process in which the Exchange on-Premises mailboxes is “copied” and then “moved” to the Office 365 (Exchange Online).
The PowerShell commands that relate to the “Move Request” are: Get-MoveRequest
The PowerShell command Get-MoveRequest will “fetch” information about the mailbox properties that we migrate.
Get-MoveRequestStatistics
The PowerShell command Get-MoveRequestStatistics will “fetch” more detailed information about the “mailbox content” that we migrate.
For example, information about the completed percentage of mailbox content that was migrated, errors, information about “bad mail items” and more.MigrationUserGet-MigrationUserMigrationUserStatisticsEach Exchange mailbox is associated with a “user account”.
The PowerShell command Get-MigrationUser, will “fetch” information about the user account properties that is associated with the Exchange mailbox.
The PowerShell command Get-MigrationUserStatistics, will “fetch” additional information such as SyncedItemCount, Status , EstimatedTotalTransferSize and more.
本系列文章的范围
基本假设是,在此阶段您已成功创建所需的“Exchange 本地端点”。
这意味着,您的 Exchange 本地服务器具备所有必需的先决条件,例如“公共可用性”,使 Exchange Online 能够与您的 Exchange 本地服务器建立连接。
如果您需要在 Exchange Online 和 Exchange On-Premises 之间“建立”连接,并且需要有关所需准备工作和先决条件的更多信息,您可以阅读以下文章:
- Office 365 直接转换邮件迁移 - Exchange 本地前提要求
- Office 365 中的混合部署 |清单和先决条件|第 1/3 部分
- Office 365 中的混合部署 |清单和先决条件|第 2/3 部分
各种类型的邮件迁移到 Office 365
目前,Exchange Online 支持以下类型的邮箱迁移
- 割接迁移
- 阶段迁移
- Exchange 混合迁移
- IMAP 迁移
尽管每种 Exchange Online 邮件迁移方法都有其独特的特点,但我们查看的 PowerShell 命令与上述所有邮件迁移方法都相关。
下载邮件迁移 PowerShell 脚本
当前文章系列的下一篇文章
使用 PowerShell 查看和导出有关邮箱迁移到 Office 365 的信息 |第 2 部分#5
猜你还喜欢
- 03-30 [玩转系统] 如何用批处理实现关机,注销,重启和锁定计算机
- 02-14 [系统故障] Win10下报错:该文件没有与之关联的应用来执行该操作
- 01-07 [系统问题] Win10--解决锁屏后会断网的问题
- 01-02 [系统技巧] Windows系统如何关闭防火墙保姆式教程,超详细
- 12-15 [玩转系统] 如何在 Windows 10 和 11 上允许多个 RDP 会话
- 12-15 [玩转系统] 查找 Exchange/Microsoft 365 中不活动(未使用)的通讯组列表
- 12-15 [玩转系统] 如何在 Windows 上安装远程服务器管理工具 (RSAT)
- 12-15 [玩转系统] 如何在 Windows 上重置组策略设置
- 12-15 [玩转系统] 如何获取计算机上的本地管理员列表?
- 12-15 [玩转系统] 在 Visual Studio Code 中连接到 MS SQL Server 数据库
- 12-15 [玩转系统] 如何降级 Windows Server 版本或许可证
- 12-15 [玩转系统] 如何允许非管理员用户在 Windows 中启动/停止服务
取消回复欢迎 你 发表评论:
- 精品推荐!
-
- 最新文章
- 热门文章
- 热评文章
[影视] 黑道中人 Alto Knights(2025)剧情 犯罪 历史 电影
[古装剧] [七侠五义][全75集][WEB-MP4/76G][国语无字][1080P][焦恩俊经典]
[实用软件] 虚拟手机号 电话 验证码 注册
[电视剧] 安眠书店/你 第五季 You Season 5 (2025) 【全10集】
[电视剧] 棋士(2025) 4K 1080P【全22集】悬疑 犯罪 王宝强 陈明昊
[软件合集] 25年6月5日 精选软件22个
[软件合集] 25年6月4日 精选软件36个
[短剧] 2025年06月04日 精选+付费短剧推荐33部
[短剧] 2025年06月03日 精选+付费短剧推荐25部
[软件合集] 25年6月3日 精选软件44个
[剧集] [央视][笑傲江湖][2001][DVD-RMVB][高清][40集全]李亚鹏、许晴、苗乙乙
[电视剧] 欢乐颂.5部全 (2016-2024)
[电视剧] [突围] [45集全] [WEB-MP4/每集1.5GB] [国语/内嵌中文字幕] [4K-2160P] [无水印]
[影视] 【稀有资源】香港老片 艺坛照妖镜之96应召名册 (1996)
[剧集] 神经风云(2023)(完结).4K
[剧集] [BT] [TVB] [黑夜彩虹(2003)] [全21集] [粤语中字] [TV-RMVB]
[实用软件] 虚拟手机号 电话 验证码 注册
[资源] B站充电视频合集,包含多位重量级up主,全是大佬真金白银买来的~【99GB】
[影视] 内地绝版高清录像带 [mpg]
[书籍] 古今奇书禁书三教九流资料大合集 猎奇必备珍藏资源PDF版 1.14G
[电视剧] [突围] [45集全] [WEB-MP4/每集1.5GB] [国语/内嵌中文字幕] [4K-2160P] [无水印]
[剧集] [央视][笑傲江湖][2001][DVD-RMVB][高清][40集全]李亚鹏、许晴、苗乙乙
[电影] 美国队长4 4K原盘REMUX 杜比视界 内封简繁英双语字幕 49G
[电影] 死神来了(1-6)大合集!
[软件合集] 25年05月13日 精选软件16个
[精品软件] 25年05月15日 精选软件18个
[绝版资源] 南与北 第1-2季 合集 North and South (1985) /美国/豆瓣: 8.8[1080P][中文字幕]
[软件] 25年05月14日 精选软件57个
[短剧] 2025年05月14日 精选+付费短剧推荐39部
[短剧] 2025年05月15日 精选+付费短剧推荐36部
- 最新评论
-
- 热门tag