Archive

Export aller User in PST

In der Exchange Management Shell:

  1. Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010
  2. Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest -Confirm:$false
  3. foreach ($AllMailboxes in (Get-Mailbox)) { New-MailboxExportRequest -Mailbox $AllMailboxes -FilePath "\\server\freigabe\$($AllMailboxes.Alias).pst" }

BlockedSendersAndDomains

  • Anzeigen aller geblockten Adressen eines Users:

(Get-MailboxJunkEmailConfiguration [username]).TrustedSendersAndDomains

  • Suchen in der Liste:

(Get-MailboxJunkEmailConfiguration
[username]).TrustedSendersAndDomains |findstr "domain.ch"

  • Absender aus der Liste entfernen:

Set-MailboxJunkEmailConfiguration -id
[username] -BlockedSendersAndDomains @{Remove="user@domain.ch"}