Microsoft
Software
Hardware
Network
Question : Basic Exchange Mail Archiving
I am running MS Exchnage 2007 and need to come with a basic email archiving solution that can use the tools available. I was looking at using powershell to do this
Step 1.
Export mailfiles to PST via powershell for user accounts under a spefic OU and that have a warning limit on thier mailfile. Which I can successfully do with the following:
Get-Mailbox -OrganizationalUnit "domain/OU/Users" | Get-MailBoxStatistics | where {"IssueWarning" -contains $_.StorageLimitStatus} | Export-mailbox -PSTFolderPath "D:\EmailArchives\" -confirm:$false
Step 2:
I then need to delete all email items that are older than say 14 days from these affected mailfiles. I assume I would use the same "Get-Mailbox" but how do I specifiy the cmdlet to delete email items over a certain date, if this is at all possible?
Answer : Basic Exchange Mail Archiving
You can script this. To get the date of 2 weeks ago, you can start from here:
[DateTime]::Now.AddDays(-1
4)
Random Solutions
SETTING UP ACCOUNTS IN OUTLOOK 2000
Configure UAC to allow background admin function on domain computers??
Exchange services not running shows error
How do I sync two Outlook 2003 calendars on one PDA?
Hosts file problem - virus / malware
Ad network that allows you to choose the ads posted?
kernel_stack_inpage_error on Windows Server 2003
A program is trying to automatically send email on your behalf........
How to port GCC
ExchangeLogs Files Corrupt on same Databases errors: ntfs 55 , general 4001 8197 ,ESE 455