Avatar of Thor2923
Thor2923
Flag 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?
PowershellExchangeScripting Languages

Avatar of undefined
Last Comment
Thor2923

8/22/2022 - Mon
Sebastian Strittmatter

What access methods do you have to access your mailbox?
 
 * IMAP
 * Outlook
 * something else.
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
Michael B. Smith

Why not simply use Search-Mailbox?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
Sebastian Strittmatter

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Thor2923

ASKER
this was fantastic thanks