Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

EnableMailboxAuditing.ps1 add SchedulingMailbox type #45

Open
brenkster opened this issue Jan 3, 2019 · 4 comments
Open

EnableMailboxAuditing.ps1 add SchedulingMailbox type #45

brenkster opened this issue Jan 3, 2019 · 4 comments

Comments

@brenkster
Copy link

There's a mailbox type missing: SchedulingMailbox.

To update the code use this: Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq "UserMailbox" -or RecipientTypeDetails -eq "SharedMailbox" -or
RecipientTypeDetails -eq "RoomMailbox" -or RecipientTypeDetails -eq "DiscoveryMailbox" -or RecipientTypeDetails -eq "SchedulingMailbox"}
| Set-Mailbox -AuditEnabled $true -AuditLogAgeLimit 180 -AuditAdmin Update, MoveToDeletedItems, SoftDelete, HardDelete, SendAs,
SendOnBehalf, Create, UpdateFolderPermission -AuditDelegate Update, SoftDelete, HardDelete, SendAs, Create, UpdateFolderPermissions,
MoveToDeletedItems, SendOnBehalf -AuditOwner UpdateFolderPermission, MailboxLogin, Create, SoftDelete, HardDelete, Update, MoveToDeletedItems

@007
Copy link
Contributor

007 commented Apr 26, 2019

Are there any Mailbox types that should not be included?

If there aren't any, maybe RecipientTypeDetails -like "*Mailbox" instead of an explicit list?

@cj8686
Copy link

cj8686 commented Aug 30, 2019

Should also include EquipmentMailbox if we are filtering recipient type.

@TiloGit
Copy link

TiloGit commented Sep 13, 2019

for EquipmentMailbox see #13

@PsychoData
Copy link

EnableMailboxAuditing has been deleted
9e79333?diff=unified

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants