none
Powershell Script - Email Output Failure RRS feed

  • Question

  • Folks,

    I'm using QAD CMDLets to produce CSV reports on inactive accounts then at the end of the script a simple send-mailMessage command to email the output to a specified account. All works great if I run the script manually (i.e. CSV reports produced and output emailed out) however, if/when I schedule the powershell to run the email part doesn't appear to work (that is to say, the CSVs are produced but no email is sent).

    Can someone point me towards an area to look at to troubleshoot the emails not being sent when Powershell run by scheduled task? I've been looking at this for a couple of days but cannot seem to resolve!

    Rgds

    FMcFF

    Monday, May 27, 2013 6:11 AM

Answers

All replies

  • Take a look at this older thread with a quite similar issue. Maybe, it helps!

    Kind regards,

    wizend

    Monday, May 27, 2013 6:23 AM
  • Hi,

    Just checking in to see if the suggestions were helpful. Please let us know if you would like further assistance.

     

    If you have any feedback on our support, please click here .


    Cataleya Li
    TechNet Community Support

    Wednesday, May 29, 2013 5:24 AM
    Moderator