Exchange 2016 export-import mailbox data

export mailbox (Domain bazlı) (2010)
———————————————————————

$AllMailboxes = Get-Mailbox *\*@domain.com.tr -Filter {Name -notlike “Adminis*” -and Name -notlike “discover*”}
$AllMailboxes|%{$_|New-MailboxExportRequest -FilePath \\dosyayolu\$($_.Alias).pst}

 

Export tek mailbox için
—————————
New-MailboxExportRequest -Mailbox anil.kutman -FilePath \\dosyayolu\dosyayolu\anil.kutman.pst

 

İşlem takibi;

Get-MailboxExportRequest -MultiTenant
Get-MailboxExportRequest

 

İmport mailbox a göre (importtta hata almamak için large limit ve accept large eklemek lazım )
————————-
$RestorePath =”\\dosyayolu\dosyayolu\”
Get-ChildItem *.pst -Path $RestorePath | Select Name | ForEach { New-MailboxImportRequest -MailBox anil.kutman -LargeItemLimit 300 –BadItemLimit 300 -AcceptLargeDataLoss -FilePath “\\dosyayolu\dosyayolu\anil.kutman.pst” -Confirm:$false }

İşlem takibi;

Get-MailboxImportRequest

 

İmport kuyruğunu temizlemek (status’e göre)
————————————–

Get-MailboxImportRequest -Status Failed | %{Remove-MailboxImportRequest $_.RequestGuid -Confirm:$false}

İmportta faild hatalarının detayı için;
—————————————–

Get-MailboxImportRequest -Status Failed | Get-MailboxImportRequestStatistics -IncludeReport | Format-List > E:\B…\eben.txt

A large item was encountered ; hatası için

Set-TransportConfig -MaxReceiveSize 50MB
Get-ReceiveConnector | Set-ReceiveConnector -MaxMessageSize 50MB
Get-SendConnector | Set-SendConnector -MaxMessageSize 50MB
Set-TransportConfig -MaxSendSize 50MB
Restart-Service MSExchangeTransport

 

 

srv kaydı sorgulama
———————
_autodiscover._tcp.anilkutman.com
https://mxtoolbox.com/SuperTool.aspx?action=srv%3a__autodiscover.__tcp.anilkutman.com&run=networktools

 

Bir Cevap Yazın