Powershell Script to get Specific Account locked in AD via email notification RRS feed

  • Question

  • Hello All MS Engineers,

    I am looking for a Power Shell Script to email notification when Specific Accounts are locked.  I tried creating Script but not being very Familiar with Power Shell I end up only getting Blank Notification Email.

    So, to better explain I have created a Test User. On Purpose I lock that ID and then I expect the Script which I am trying should send me Email with the information mentioning Test User is locked by This user and this time and from this machine and on this date.

    The good part is I get email notification but it is blank.

    Can you someone please help me.

    Thank you


    • Moved by Bill_Stewart Monday, April 30, 2018 9:24 PM Unanswerable drive-by question
    Friday, February 23, 2018 10:25 AM