Link to home
Create AccountLog in
Avatar of Thor2923
Thor2923Flag for United States of America

asked on

I need a powershell script that will download mail sent to a mailbox from a specific email address to a folder path such as \\server01\temp

I need a power shell script to checks a specific email address or mailbox on our Exchange server, lets say xyz@domain.com and every time I receives and email from another specific address, lets say abc@comp;any.com it downloads the email and attachment to a folder such as \\server01\temp......Is there a quick way to write a powershell script for this?
Avatar of Sebastian Strittmatter
Sebastian Strittmatter
Flag of Germany image

What access methods do you have to access your mailbox?
 
 * IMAP
 * Outlook
 * something else.
Avatar of Thor2923

ASKER

we are using exchange 2013 i know we use IMAP and OUTLOOK....I maybe I should have made this more of an exchange question than PowerShell
Why not simply use Search-Mailbox?
ASKER CERTIFIED SOLUTION
Avatar of Sebastian Strittmatter
Sebastian Strittmatter
Flag of Germany image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
this was fantastic thanks