Get Date A User Is Added To A Group

Is there a way, in PowerShell, to get the date when a user account was added to an AD group?

Thank you,

I don’t think this is an attribute in AD, so only if you could scrape it from a log entry.

Yes assuming that you have the ActivieDirectory tools installed on your workstation or logged into a Domain Controller the following should work.

Import-Module activedirectory
Get-ADUser 'UserName' -Properties * | select whenCreated

Oops responded too soon, didn’t see the part where a user was added to a group…

That’s what I thought. Thanks anyway.

Look here