I can't find this one powershell script I found online a while ago, so was checking here to see if anyone has a script similar to what I'm looking for;
I want to be able to grant full mailbox permissions for a few different users to the same few mailboxes.
So for example, I have mailbox 1, mailbox 2, mailbox 3, mailbox 4.
What I'm trying to do is grant John, Bob, Sally, Rick and Jason all full mailbox access and SendAs access to those mailboxes (1 -4).
Would this have to be done by having a 2 column CSV file and what would the script/commands be?
These are the 2 commands I have from another script;
Add-MailboxPermission $mailbox -User $employee -AccessRights:FullAccess -confirm: $false
Add-ADPermission -Identity $mailbox -User $employee -AccessRights ExtendedRight -ExtendedRights "send as"