I'm Trying to find a way to copy a users mailbox permissions to another user, I can output the data I need in PS just can't find a way to then apply those permissions to the new user.
I'm not amazing with PS so please bare with me :)
Get-Mailbox -RecipientTypeDetails UserMailBox,SharedMailbox | Get-MailboxPermission -User
which then outputs the users permissions but I would like to be able to then add those permissions to my new user in the same script.