Can someone please give me a Powershell example of how to store some attributes of a user account prior to the account being deleted? Specifically, I have a need to get the "whenCreated" and "samAccountName" fields. I just need to be able to write them to a text file for now. I have tried the onPreDelete handler and am unable to retrieve the attributes of the account being deleted using $Request, $DirObj, or Get-QADUser....Help!
Thanks