Browse Forum Posts by Tags

Showing related tags and posts for the Ask the Experts group. See all tags in the site
  • How can I back up Outlook folder contents using powershell?

    I found a script using Technet and Google. $outlook = New-Object -comObject Outlook.Application $olJunk = $outlook.Session.GetDefaultFolder(23) $($olJunk.Items) | %{$_.Delete()} It turns out it does actually empty the junk mail folder. I guess each default folder is assigned a numerical value. What I'm...
    Posted to PowerShell for Windows (Forum) by jwhite on 04-12-2011
    Filed under: powershell, COM, copy-item, mail, file
Page 1 of 1 (1 items)
Copyright 2012 PowerShell.com. All rights reserved.