Hello, I have need to export the contents of old public folders to PST files for long term storage. I have researched it and I can see that I can use Exchange 2010New-MailboxExportRequest function but it doesn't seem to work on mail-enabled public folders.
My command is: New-MailboxExportRequest -mailbox "0120@companyname.com" -filepath "\\testserver1\4-22-13\0120_Archive_4-22-13.pst"
This command returns: The operation couldn't be performed because object '0120@companyname.com' couldn't be found on '<domaincontroller>'
I've tried all iterations of the mailbox name and it seems that the -mailbox parameter "-mailbox" is perhaps not suited for mail-enabled folders.
Can any one tell me if I'm doing something wrong here?
Thanks
Jim
P.S. I know I can manually export mail-enabled public folders from Outlook but I'm trying to automate this as I have a whole lot of folders to export.