Powershell: Add or Remove access rights to shared mailboxes in Exchange 2010.

I had a user that was unable to open existing shared mailboxes in Office 2013.The user had upgraded Office from 2010 and was unable to expand the shared mailboxes afterwards.To solve this we had to reassign permissions to the mailboxes. I used the following command to get a list of mailboxes that the user had access to instead of checking each of them manually. $Users = "username" Get-MailboxPermission -Identity * -ResultSize Unlimited | Where-Object {$_.User -like $User} | select identity,user | Export-Csv c:users.csv I edited the CSV to be imported properly by Import-Csv.When the CSV is ready I used the…

0 Comments
Exchange 2010 Mailbox Export to PST using PowerShell

I recently had a need to export mailboxes to PST. This was done in an environment with Exchange 2010.This can easily be done with the following command in the Exchange Management Shell. New-MailboxExportRequest -Mailbox -FilePath \serverPSTIdentity.pst This is a bit inconvenient if you need to export more than a few mailboxes.I created the script below to accommodate my need and to be able to run it from another workstation.The only requirement is that you have access to the Exchange server and that you have the management tools installed for your version of Exchange. As soon as I can get around…

0 Comments