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

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