To Add a User or Security Group in Bulk over all the mailboxes in the Organization
Run each line by itself;
Line 1: $users = Get-Mailbox | Select -ExpandProperty Alias
Line 2: Foreach ($user in $users) {Add-MailboxFolderPermission $user”:\Agenda” -user NAMEOFUSER -accessrights Editor}
To Remove a User or Security Group from all the mailboxes in the Organization
Run each line by itself;
Line 1: $users = Get-Mailbox | Select -ExpandProperty Alias
Line 2: Foreach ($user in $users) {Remove-mailboxfolderpermission $user”:\Agenda” -user NAMEOFUSER}