Powershell 新的MigrationBatch是如何工作的?
Powershell 新的MigrationBatch是如何工作的?,powershell,exchange-server,Powershell,Exchange Server,New MigrationBatch是否在内部为每个用户创建New MoveRequest 有人能给我解释一下新的MigrationBatch在内部是如何工作的吗?新的MigrationBatchcmdlet用于为一批用户提交新的迁移请求。它有助于将邮箱移动到本地Exchange组织中的不同数据库 从CSV文件获取输入的示例: 注意:您可以使用AutoStart自动运行批处理 为本地Exchange服务器创建迁移终结点,然后使用该终结点创建迁移批处理 $InputCSV="C:\Use
New MigrationBatch
是否在内部为每个用户创建New MoveRequest
有人能给我解释一下新的MigrationBatch在内部是如何工作的吗?新的MigrationBatchcmdlet用于为一批用户提交新的迁移请求。它有助于将邮箱移动到本地Exchange组织中的不同数据库
从CSV文件获取输入的示例:
注意:您可以使用AutoStart自动运行批处理
为本地Exchange服务器创建迁移终结点,然后使用该终结点创建迁移批处理
$InputCSV="C:\Users\Administrator\Desktop\FirstBatch.csv"
$Endpoint = New-MigrationEndpoint -ExchangeOutlookAnywhere -Name Endpoint -Autodiscover -EmailAddress user@domain.com -Credentials $Credentials
$StagedBatch1 = New-MigrationBatch -Name FirstBatch -SourceEndpoint $Endpoint.Identity -CSVData ([System.IO.File]::ReadAllBytes($InputCSV))
Start-MigrationBatch -Identity $FirstBatch.Identity
如需进一步参考,请访问
希望有帮助。New MigrationBatchcmdlet用于为一批用户提交新的迁移请求。它有助于将邮箱移动到本地Exchange组织中的不同数据库
从CSV文件获取输入的示例:
注意:您可以使用AutoStart自动运行批处理
为本地Exchange服务器创建迁移终结点,然后使用该终结点创建迁移批处理
$InputCSV="C:\Users\Administrator\Desktop\FirstBatch.csv"
$Endpoint = New-MigrationEndpoint -ExchangeOutlookAnywhere -Name Endpoint -Autodiscover -EmailAddress user@domain.com -Credentials $Credentials
$StagedBatch1 = New-MigrationBatch -Name FirstBatch -SourceEndpoint $Endpoint.Identity -CSVData ([System.IO.File]::ReadAllBytes($InputCSV))
Start-MigrationBatch -Identity $FirstBatch.Identity
如需进一步参考,请访问
希望能有帮助