Exporting messages from a Queue in Exchange 2007

Hi Guys,

I am hoping someone can help me out with the following.
I am trying to export message out of a queue which has had its folder renamed due to the fact that email has stopped flowing through it. A new queue has been created and mail is flowing but we need to export the messages out of the old queue.

I am trying to use the following code to retrieve the messages however the EMS just doesnt appear to do anything when i execute the command:
Get-Message -Queue "Exchange01\contoso.com" | Export-Message -Path "C:\Contoso Export"

I dont get any red code to say what im doing wrong i just get
under the commmand line i have entered.

Any Ideas and help as to how i can go about the above would be greatly appreciated?
Who is Participating?
YellowbusTeamAuthor Commented:
we have decided to work through the following aticle...


hopefully it will work
>> means something is missing in command. Try this article;

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.


I think the article which i provided mentioned the same steps as technet.
ok..Fine with me...
YellowbusTeamAuthor Commented:
It provided a ful solution of what to do with the file once it had been repaired
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.