@ECHO OFF ECHO ** Exchange 2007 Backup START ** REM Step 1- Install the Exchange 2007 Management Tools on a 32bit server in the domain REM Step 2- Schedule this batch to run before the tape backup using Scheduled Tasks REM Step 3- Include C:\EXCHBAK\*.* in the tape backup selections C: CD\ CD EXCHBAK DEL *.old RENAME *.pst *.old PowerShell.exe -PSConsoleFile "C:\Program Files\Microsoft\Exchange Server\Bin\ExShell.psc1" -Command ".'C:\Program Files\Microsoft\Exchange Server\Scripts\jp-exchbak.ps1'" ECHO. ECHO. Done! ECHO. PAUSE EXIT REM contents of the 'jp-exchbak.ps1' file below: REM Get-Mailbox -Database "SERVER_NAME\First Storage Group\Mailbox Database" | Export-Mailbox -PSTFolderPath C:\EXCHBAK -confirm:$false REM backup all Exchange Server 2007 mailboxes to .pst files on the server