Thursday, July 1, 2010

Powershell export-mailbox

There is a nice posting here on using export-mailbox on the You had me at EHLO site.
As I mentioned in the last post I had to use the Add-MailboxPermission to set access
rights.

Get-Mailbox | Add-MailboxPermission -user admin -accessrights fullaccess

I wish I had wrote down the error as it wasn't immediately apparent what was wrong.

Exchange 2007

I have been learning Exchange 2007 for the past few weeks. To learn Exchange 2007 I have been using Microsoft Press's 70-236 configuring Exchange book and the videos "Exchange Server 2007 Learn to configure and manage your own exchange server" from Train Signal. Along with a couple of great websites msexchange.org and You had me at EHLO. The MS press book is full of typo's, somewhere on my desk is a good size stack of paper with lot's of corrections. Not to much of a problem though as I have been doing most of the power shell commands on my test system and working out the bugs. Really liking power shell. Using Get-mailbox in conjunction with export-mailbox to remove unwanted e-mails from the database is really easy. Did find I did need to use add-mailboxPermissions to give my account FullAccess even though the account was an Exchange Organization Administrator. Haven't had time to check into what I did wrong, if anything. The Trainsignal videos are great. I was considering moving straight into learning Exchange 2010 after 2007 and the new Train signal video's were high on my list but at almost $400 hard to swing that at the moment.