# 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`