Start a conversation

Script: DeleteArchiveMailbox ( ONLY)

Answer

DESCRIPTION

This script will delete a user's mailbox from an archive store once this user has for example left the company. The script will check if emails in the database have more than one owner. If that is the case, we do a 'soft delete' (user is removed from the owners list, so the user can no longer see the email). Now, if that user is the only owner, we do hard delete (we completely remove the email from the database).

IMPORTANT

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments