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
Swapnil