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
How to open, populate, and save a .csv file using an .xls spreadsheet ?
Migrating Groupwise Users to a New Tree
Adobe PDF bookmark font is gibberish
retrieve deleted email from hotmail
mup.sys
Missing system tray items on startup then ok after logout/logon
OS X 3.3.4 losing file association
Windows Update Site Fails, Error: 0x80072efd
How to merge SSI partition in EeePc
Block Windows Updates at Firewall