PowerShell
Exchange 2007

Export and Import Mailbox data to a PST file on Exchange Server 2007.

This procedure describes how to export all mailboxes from one Exchange Server to a PST files and how to import the PST files to another Exchange Server in a different domain. Before you begin make sure that: You have a computer that has Outlook 2003 (SP2) or 2007, Exchange 2007 Management Tools (32-bit version), PowerShell and .NET Framework installed Logon with an account that has Exchange Server Administrator and Local Administrator rights You have full […]

PowerShell

Send an e-mail message from PowerShell.

This small PowerShell script will send you an e-mail message to notify you about something. I used it as a monitor for a custom, non-Microsoft service running on Windows Server 2008. Whenever the service will stop for an unexpected reason, the support guys will quickly be notified about the failure. The PowerShell script looks like this: $EmailFrom = “<e-mail address>@<yourdomain.com>” $EmailTo = “<e-mail address>@<otherdomain.com>” $Subject = “<Enter your subject here>” $Body = “<Enter the body […]