# General Overview Exchange Server Stettbachertal ## PST Import ### Prepare Used for PST Conversion: https://www.outlookfreeware.com/en/products/all/OutlookConvertEML2PST Can't be installed on Windows Server, needs to be run in a Windows Desktop VM Exchange Mailbox Needs to be manually configured for increased Message Size ### IMAP Sync IMAP Service manuell auf Exchange starten #### CMD ``` imapsync.exe --folder INBOX --regextrans2 "s{^INBOX$}{test2/Inbox_Migrated}" --host1 imap.1und1.de --user1 administrator@stettbachertal.de --password1 aaa --host2 192.168.2.240 --user2 archiv@stettbachertal.local --password2 ddd. imapsync.exe --folder "Gesendete Objekte" --regextrans2 "s{^Gesendete Objekte$}{2019/Gesendet}" --search "SENTSINCE 1-Jan-2019 SENTBEFORE 31-Dec-2019" --host1 imap.1und1.de --user1 buero@stettbachertal.de --password1 xxxx --host2 server.stettbachertal.local --user2 archiv@stettbachertal.local --password2 xxxx regextrans benennt quell in zielordner um, alternativ für posteingang wäre INBOX statt Gesendete Objekte ``` ### Import Exchange Console Commands ##### Start New Import: `New-MailboxImportRequest -FilePath \\server\d$\2016_in.pst -Mailbox "Archiv" -Priority Highest -TargetRootFolder 2018out` w/o priority highest disk latency issues occur ##### Show Import Log: `Get-MailboxImportRequest | Get-MailboxImportRequestStatistics -IncludeReport | fl` ##### Stop Running Import: ``` Suspend-MailboxImportRequest -Identity "stettbachertal.local/User/Archiv\MailboxImport" Remove-MailboxImportRequest -Identity "stettbachertal.local/User/Archiv\MailboxImport" ``` ##### Delete Dumpster: `Search-mailbox -identity Archiv -SearchDumpsterOnly -DeleteContent` ### Re-Index (Search not working Properly) ``` This was done last time: https://www.stephenwagner.com/2019/05/14/rebuild-search-index-catalog-on-microsoft-exchange-2016/ This might work without Service restart: https://techcommunity.microsoft.com/t5/exchange/rebuild-search-index-of-a-mailbox-in-exchange-online/m-p/25663 https://docs.microsoft.com/en-us/powershell/module/exchange/new-moverequest?view=exchange-ps ```