We need to retrieve the Full Name of an AD user when locked out. It is possible to add that as an attribute or Other information in the Event 4740?
We need to retrieve the Full Name of an AD user when locked out. It is possible to add that as an attribute or Other information in the Event 4740?
Hi,
Unfortunately, you cannot add other attributes to an event. However, you can filter the event log with PowerShell and get the DisplayName attribute of the domain account that is locked out using the Get-ADUser cmdlet.
Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Thanks for the answer! I was wondering if the Get-ADUser cmdlet can be incorporated into the following Power Shell script (attached)? The results are emailed as you will see. So, I would need the Account name to be used in the Get-ADUser cmdlet to retrieve the display name and send it with the email. So, a challenge, yes.

11 people are following this question.