Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thisboyiscrazy/61a2f1dff1a92c01ab685af35218d2e1 to your computer and use it in GitHub Desktop.
Save thisboyiscrazy/61a2f1dff1a92c01ab685af35218d2e1 to your computer and use it in GitHub Desktop.
Set All Contact and Calander Default to Reviewer
Get-Mailbox | ForEach-Object {
Set-MailboxFolderPermission ${_}:\calander -User default -AccessRights Reviewer
Set-MailboxFolderPermission ${_}:\contacts -User default -AccessRights Reviewer
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment