I'm programtically running Exchange 10 commands using System.Management.Automation. I have been successful in executing powershell commands for all commands except for New-MailboxSearch. It works fine when I use the Exchange Management Shell on the same box. I get the following error "Unable to execute the task. Reason: The task can't identify the user that is executing the task."
Has anyone else been successful in executing the New-MailboxSearch command?