Remediating extension attributes
From MyWiki
Step 1, generate a list of potential problem accounts
Get a list of users to check for the correct configuration of the ExtensionAtribute1 and ExtensionAtribute2 attributes
We can user serveral commands depending on the desired selection criteria, examples below:
List users created on a particular day: Get-QADUser -CreatedOn 2014/07/26 > user_list.txt
List users created within a date range Get-QADUser -CreatedAfter 2014/07/26 -CreatedBefore 2014/07/30 > user_list.txt
Step 2, run the script below taking the file generated above as its input
It is assumed that we have the Quest cmdlets installed and loaded and that we are logged into a Domain Controller with appropriate credentails