To add send as permissions from the existing permissions on a mailbox you can use this script:
All you need to do is specify the username twice:
$users = Get-MailboxPermission -identity "USERNAME" | where {$_.user -notlike "*SELF" -and $_.isinherited -eq $false} foreach ($user in $users) { $mailboxuser = get-aduser "USERNAME" Add-ADPermission -Identity $mailboxuser.DistinguishedName -ExtendedRights Send-As -User $user.user }
Leave a Reply