Difference between revisions of "Remediating extension attributes"

From MyWiki
Jump to: navigation, search
Line 5: Line 5:
 
'''List users created on a particular day:'''  Get-QADUser -CreatedOn 2014/07/26 > user_list.txt <br>
 
'''List users created on a particular day:'''  Get-QADUser -CreatedOn 2014/07/26 > user_list.txt <br>
 
''' List users created within a date range'''  Get-QADUser -CreatedAfter 2014/07/26 -CreatedBefore 2014/07/30 > user_list.txt <br><br>
 
''' List users created within a date range'''  Get-QADUser -CreatedAfter 2014/07/26 -CreatedBefore 2014/07/30 > user_list.txt <br><br>
'''Step 2, run the script below taking the file generated above as its input'''
+
'''Step 2, run the script below taking the file generated above as its input'''<br>
 +
It is assumed that one has the Quest cmdlets installed and we are logged into a Domain Controller with appropriate credentails<br>

Revision as of 10:13, 27 August 2014

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 one has the Quest cmdlets installed and we are logged into a Domain Controller with appropriate credentails