• Status: Solved
  • Priority: High
  • Security: Public
  • Views: 72
  • Last Modified:

How to run powershell script to automate

Hi expert

How to execute an Automated script to copy the Network files and send over to a specific users by outlook email?

Question can this achieve by powershell.
0
alanlam123
Asked:
alanlam123
  • 2
1 Solution
 
Jose Gabriel Ortega CCEO J0rt3g4 Consulting ServicesCommented:
I think is possible,

https://www.techrepublic.com/blog/windows-and-office/send-an-email-with-an-attachment-using-powershell/

But if you want to use outlook you would be required a "COM" object from the application and it must be installed (outlook).

http://www.computerperformance.co.uk/powershell/powershell_function_send_email.htm
0
 
Jose Gabriel Ortega CCEO J0rt3g4 Consulting ServicesCommented:
answered
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now