Powershell to trigger action when approval email?

Hi,

I d like to sent a mail to a user via powershell, then when he/she replied with certain answer via mail, trigger another action. Iow, I send an automatically send mail from general mailbox "is your software Firefox 5.1 we deployed to your pc ok?" (that part already works). When user answers with YES (or voting buttons or other?), the software should be deployed to other users too via sccm (that deploying part also works).
How could I achieve that? Prefer not to use SharePoint online (since I do not manage it) but just powershell and mail.
Goal is to finally have 2 users approving software,  only then software is deployed.

Please advise.

J
janhoedtAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michal ZiembaIT AdministratorCommented:
If you use Office 365 mailbox, you might consider using Microsoft Flow. It can monitor your or an any shared mailbox where it has an access and when approval mail comes it could execute some action (upload a script and run it on the SCCM server as an example).
If you like the idea start from the blog article UPLOAD AND RUN AN ON-PREMISES POWERSHELL SCRIPT FROM MICROSOFT FLOW

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.