2017-05-12 2 views
1

New-MigrationBatch은 각 사용자에 대해 New-MoveRequest을 내부적으로 만듭니 까?New-MigrationBatch는 어떻게 작동합니까?

내게 누군가가 내게 어떻게 작용하는지 설명 할 수 있습니까? New-MigrationBatch은 내부적으로 어떻게 작동합니까?

답변

0

New-MigrationBatch cmdlet은 일괄 사용자에 대한 새 마이그레이션 요청을 제출하는 데 사용됩니다. 온 - 프레미스 Exchange 조직에서 사서함을 다른 데이터베이스로 이동하는 데 도움이됩니다.

#It creates a migration batch for a local move, where the mailboxes in the specified CSV file are moved to a different mailbox database. 
#This CSV file contains a single column with the email address for the mailboxes that will be moved. 
#The header for this column must be named EmailAddress. 

$InputCSV="C:\Users\Administrator\Desktop\Input.csv" 
New-MigrationBatch -Local -Name MyFirstBatch -CSVData ([System.IO.File]::ReadAllBytes($InputCSV)) -TargetDatabases MyLocalDB 
Start-MigrationBatch -Identity MyFirstBatch 

참고 :

예 CSV에서 파일을 입력 을 촬영합니다 자동 배치를 실행하기 위해 자동 시작을 사용할 수 있습니다.

온 - 프레미스 Exchange 서버의 마이그레이션 끝점을 만든 다음 해당 끝점을 사용하여 마이그레이션 일괄 처리를 만듭니다.

$InputCSV="C:\Users\Administrator\Desktop\FirstBatch.csv" 
$Endpoint = New-MigrationEndpoint -ExchangeOutlookAnywhere -Name Endpoint -Autodiscover -EmailAddress [email protected] -Credentials $Credentials 
$StagedBatch1 = New-MigrationBatch -Name FirstBatch -SourceEndpoint $Endpoint.Identity -CSVData ([System.IO.File]::ReadAllBytes($InputCSV)) 
Start-MigrationBatch -Identity $FirstBatch.Identity 

또한 참고로, Technet--New-MigrationBatch

는 희망이 도움이 방문하시기 바랍니다.

관련 문제