Export-Mailbox error
Trying to export mailbox contents to PST. When I run the following it works fine: Get-Mailbox -OrganizationalUnit "OU" | Export-Mailbox -SenderKeywords EMAIL@EMAIL.COM Enddate 08/09/2010 -PSTFolderPath C:\PST When I try to expand the search: Get-Mailbox -OrganizationalUnit "exOU" | Export-Mailbox -ContentKeywords "KEYWORD1", "KEYWORD2", "KEYWORD3", "KEYWORD4" -SenderKeywords "KEYWORDEMAIL" -RecipientKeywords "KEYWORDEMAIL" -AllowMerge -PSTFolderPath c:\PST I get the following error: Export-Mailbox : Parameter set cannot be resolved using the specified named par ameters. At line:1 char:89 + Get-Mailbox -OrganizationalUnit "OU" | Exp ort-Mailbox <<<< -ContentKeywords "KEYWORD1", "KEYWORD2", "KEYWORD3", "KEYWORD4" -SenderKeywords "KEYWORDEMAIL" -RecipientKeywords "KEYWORDEMAIL" -AllowMerge -PSTFolderPath c:\PS + CategoryInfo : InvalidArgument: (:) [Export-Mailbox], Parameter BindingException + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.Exchange.Managem ent.RecipientTasks.ExportMailbox Any combination of switching the variables breaks the query.
August 18th, 2010 6:28pm

The issue was the -AllowMerge command. It does not work with -ContentKeywords.
Free Windows Admin Tool Kit Click here and download it now
August 18th, 2010 7:00pm

Hi Chris, Thanks for sharing.Frank Wang
August 20th, 2010 12:21pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics