• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 426
  • Last Modified:

mailbox management clarification using powershell

I need clarification on mailbox management using powershell /exchange management shell/snapin. Can I run the exchange management snapin from an xp or win 7 workstation ( then run the exchange commands from my pc ), or do i have to be logged into the exchange server. I see some web pages that seem to indicate you can run the commands from your workstation.

http://www.itexperience.net/export-mailboxes-from-exchange-2007-with-export-mailbox/
http://www.exchange-powershell.com/2009/11/24/delete-all-messages-after-date-from-mailbox/

Also, assuming above is possible, how do i install the EMS on my workstation , and what is the best way to delete mail from a mailbox?. I tried using "Export-Mailbox reservations -deletecontent -enddate “09/01/2010" " from the mail server EMS to delete mail prior to  the date indicated in command, but the command goes through a "moving process" is this the best way? . Ideally , I would like to do the option in exchange-powershell.com link above to export to pst , but doing so on server results with" You are running on a 64-bit computer. To export to or import from a .pst file, you must be running a 32-bit computer that has Outlook 2003 SP2 or later installed."
0
davesnb
Asked:
davesnb
  • 2
2 Solutions
 
Jamie McKillopCommented:
Hello,

Yes, you can run EMS from a Win XP or Win 7 workstation. You can download the 32bit version of the management tools here: http://www.microsoft.com/download/en/details.aspx?id=11876. You can then use EMS to run powershell commands against Exchange.

You can use the option you linked if you also have Outlook installed on your workstation.

JJ

0
 
davesnbAuthor Commented:
So one last question, FROM THE EXCHANGE SERVER I tried using "Export-Mailbox reservations -deletecontent -enddate “09/01/2010" " from the mail server EMS to delete mail prior to  the date indicated in command, but the command goes through a "moving process" is this the best way FROM THE EXCHANGE SERVER?
0
 
Jamie McKillopCommented:
Yes, that is the best way from the Exchange server. Even though it says it is moving items, it really isn't because you have selected to the delete items.

JJ
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now