export-mailbox require a seperate server running 32bit and outlook? Or is that just to export to PST?
LegendZM
I believe that's just to export to PST, if not, you can download and install the 32bit Exchange / powershell and install it on your machine, and then install Exchange Powershell Tools on your machine.
Confirm
Are you sure you want to perform this action?
Exporting mailbox content from the mailbox 'tester4' into the mailbox for
'ExportMailbox (ExportMailbox@test.com)' inside folder '\MyData\Recovered
Data - tester4 - 7/17/2008 2:36:48 PM'. This operation may take a long time to
complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):y
Export-Mailbox : Error was found for tester4 (tester4@test.com) because: Er
ror occurred in the step: Creating target folder in the target mailbox. An unkn
own error has occurred., error code: -2147221233
At line:1 char:34
+ Get-User tester4 | Export-Mailbox <<<< -TargetMailbox ExportMailbox -TargetF
older MyData -SubjectKeywords * -DeleteContent
[PS] C:\Documents and Settings\Administrator.test>Get-User tester4 | Export-
Mailbox -DeleteContent
Confirm
Are you sure you want to perform this action?
Searching the contents and/or the associated messages from the mailbox
'tester4' and deleting those messages that meet the criteria specified. This
operation may take a long time to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):y
Export-Mailbox : Error was found for tester4 (tester4@test.com) because: Er
ror occurred in the step: Moving messages. Failed to copy messages to the desti
nation mailbox store with error:
MAPI or an unspecified service provider.
ID no: 00000000-0000-00000000, error code: -1056749164
At line:1 char:34
+ Get-User tester4 | Export-Mailbox <<<< -DeleteContent
rilliam
ASKER
[PS] C:\Documents and Settings\Administrator.xyz>Export-Mailbox -Identity t
ester4 -DeleteContent
Confirm
Are you sure you want to perform this action?
Searching the contents and/or the associated messages from the mailbox
'tester4' and deleting those messages that meet the criteria specified. This
operation may take a long time to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):y
Export-Mailbox : Error was found for tester4 (test@domain.com) because: Er
ror occurred in the step: Moving messages. Failed to copy messages to the desti
nation mailbox store with error:
MAPI or an unspecified service provider.
ID no: 00000000-0000-00000000, error code: -1056749164
At line:1 char:15
+ Export-Mailbox <<<< -Identity test -DeleteContent
Confirm
Are you sure you want to perform this action?
Searching the contents and/or the associated messages from the mailbox
'tester4' and deleting those messages that meet the criteria specified. This
operation may take a long time to complete.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
(default is "Y"):y
Export-Mailbox : Error was found for tester4 (tester4@test.com) because: Er
ror occurred in the step: Moving messages. Failed to copy messages to the desti
nation mailbox store with error:
MAPI or an unspecified service provider.
ID no: 00000000-0000-00000000, error code: -1056749164
At line:1 char:34
+ Get-User tester4 | Export-Mailbox <<<< -SubjectKeywords * -DeleteContent
LegendZM
Ok so you need a temporary place to put the files, but the box must exist.
Please see my third post I tried that already with another targetfolder. Here is what I get when I do inbox:
[PS] C:\Documents and Settings\Administrator.test>Get-User tester4 | Export-
Mailbox -TargetMailbox ExportMailbox -TargetFolder Inbox -SubjectKeywords * -Del
eteContent
Export-Mailbox : The target folder 'Inbox' is a special folder of target mailbo
x 'ExportMailbox', and is not supported by this command.
At line:1 char:34
+ Get-User tester4 | Export-Mailbox <<<< -TargetMailbox ExportMailbox -TargetF
older Inbox -SubjectKeywords * -DeleteContent
Get-Mailbox Database MailStore1 | Export-Mailbox -TargetMailbox MailBox -SubjectKeywords * -DeleteContent
or something like that
They give more examples on the page.