Archive | Exchange 2007 RSS feed for this section

Exporting Contacts from a Users Mailbox to a PST file


This may be of use to some of you: Prerequisites: A 32-bit Windows machine with Outlook 2003 SP2 or above and with the Exchange Tools installed also An admin account with a Mailbox attached What to do: Open the Powershell Window Run the following commands: Add-PSSnapin Microsoft.Exchange.Management.Powershell.Admin Add-MailboxPermission –Identity “Users Full Name” –User UserNameOfAdminAccount –AccessRights Fullaccess […]

Continue reading

Exchange Recurring Apointments


This is a useful command if you need to set or unset the ability to set recurring appointments in Exchangeby powershell: set-MailboxCalendarSettings -Identity “UserEmailAddress@yourdomain.com” -AllowRecurringMeetings:$true This also works using the accounts alias in place of the email address.

Continue reading

Mail Folders to another Mailbox with Powershell


This code allows you to export a folder and all contents to anothers mailbox with Powershell. This can be useful if a manager requires the contents of certain folders created by an ex-exployee. Export-Mailbox -Identity SourceUserName -IncludeFolders ‘\Inbox\_Misc’ -TargetFolder _Misc -TargetMailbox TargetUserName This needs to be run on the mail server Hope this helps  

Continue reading

Getting a mailbox size with Powershell


Open the Exchange Management Shell and type: get-mailbox username|get-mailboxstatistics|fl totalitemsize The Output:

Continue reading