Password Expiry Email Notification RRS feed

  • Question

  • I downloaded the script from here

    It fails as a scheduled task, but runs perfect when ran manually

    Running on a DC server 2016

    I am a domain administrator

    I do have run as batch job permissions

    For the program script I have this in Task Scheduler I have


    Under arguments I have

    C:\Scripts\PSC.ps1 -smtpServer 10.*.**.** -expireInDays 11 -from "IT Support <helpdesk@********.org>" -Logging -LogPath "c:\logFiles" -reportTo buchananm@********.org -interval 1,10

    Start in is blank

    Last Run result 0x1

    • Moved by Bill_Stewart Monday, March 12, 2018 9:42 PM This is not a support forum for gallery scripts
    Friday, January 19, 2018 1:39 PM

All replies