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
Application Pools: The Web Garden / Worker Processes...
Using a security group to deny access to default domain policy
Using concat to generate outfile name
Legacy Tools in Word 2007 Question
java.lang.SecurityExceptio<wbr />n: Prohibited package name: java.util when running a Servlet with WAS 4.0.1
Setting up a new NIC on Solaris 10 x86....
What is the best way to partition storage for Exchange 2007 for a small business?
SORTING BY Column Names when Column Name is Numeric
Expand/Collapse Grouping in Reporting Services
Change rows to columns specifically in sql 2005