Skip to content

Instantly share code, notes, and snippets.

@AshFlaw
Created July 19, 2018 06:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AshFlaw/0d595852ead34c099f6102d06394a15e to your computer and use it in GitHub Desktop.
Save AshFlaw/0d595852ead34c099f6102d06394a15e to your computer and use it in GitHub Desktop.
Enable Exchange Online mailbox auditing manually for all mailboxes
Get-Mailbox -Filter {AuditEnabled -eq $False} -RecipientTypeDetails UserMailbox, SharedMailbox | Set-Mailbox -AuditEnabled $True –AuditDelegate Create, FolderBind, SendAs, SendOnBehalf, SoftDelete, HardDelete, Update, Move, MoveToDeletedItems, UpdateFolderPermissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment