Exchange 2010 PST export with PowerShell
Posted on 2014-04-14
Trying to do a simple Export on a newly acquired acquisition.
Trying to do a mass export of their users mailboxes when the time comes. AS a test I went on with our admin account.
Added the Role to my admin account with the:
New-ManagementRoleAssignment -Role "Mailbox Import Export" -<username>
I also went to the share located on another part of the network and added the Exchange Trusted Subsystem to have full control.
When I run the command to test an export I get this error stating perms aren't right:
Unable to open PST File '\\Server\path\etc\email.pst'. Error details: Access to the path '\\Server\path\etc\email.pst' is denied.
+ CategoryInfo : NotSpecified: (0:Int32) [New-MailboxExportRequest], RemotePermanentException
+ FullyQualifiedErrorId : DD5314F3,Microsoft.Exchange.Management.RecipientTasks.NewMailboxExportRequest
Anyone know what I am missing?
This is Exchange Server 2010
Windows Server 2008 R2 Enterprise, SP1