#### Mailbox RulesGet-MailboxSomePerson@contoso.com|Select-Object-ExpandPropertyUserPrincipalName|Foreach-Object{Get-InboxRule-Mailbox$_|Select-Object-PropertyMailboxOwnerID,Name,Enabled,From,Description,RedirectTo,ForwardTo}#### Remove mailbox permissionsGet-Mailboxfirstname.surname@contoso.com|Remove-MailboxPermission-User"groupname"-AccessRightsFullAccess-Deny#### Keep copy of Sent As in Users MailboxSet-Mailbox<mailboxname>-MessageCopyForSentAsEnabled$True#### Keep copy of Sent on Behalf in Users Mailboxset-mailbox<mailboxname>-MessageCopyForSendOnBehalfEnabled$True