Use PowerShell to Move, Delete and Measure Outlook Emails

I know and like PowerShell. You know the old adage, when you have a hammer, hit outlook with the hammer. ##### Connect to outlook $Outlook = New-Object -ComObject Outlook.Application #### # Old inbox to PST archive $EmailToMove = $Outlook.Session.Folders.Item(1).Folders.Item(“Inbox”).Items | Where-Object SentOn -le (Get-date).AddDays(-30) $EmailToMove | ft SentOn, Subject, SenderName, To, Sensitivity -AutoSize -Wrap $ArchiveFolder […]