BrianRB
asked on
Powershell - Find Disabled Users Based on Date.
I need a script based on the following:
1. Find disabled users
2. However, I don't want a list of users that have been disabled within the last 20 days. I need a list based on the date of 20 days ago.
For example, I've disabled x number of users between 12/10/2011 and today. I don't want these users to show up in my report. I want the list to contain users disabled prior to the 10th.
1. Find disabled users
2. However, I don't want a list of users that have been disabled within the last 20 days. I need a list based on the date of 20 days ago.
For example, I've disabled x number of users between 12/10/2011 and today. I don't want these users to show up in my report. I want the list to contain users disabled prior to the 10th.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I actually read that exact article earlier this morning. But I've only been using PS for about 3 days now so it was hard to follow for an idiot such as I. :(
HI and thanks Brian,
Yes i now, no attribute for date of disabled account.
th script must use whenchanged attribute, i now this is not a guarantee, but in my AD, i have only 1 administrator.
the script must get the date and export in a csv file a list of user.
thanks for help
Yes i now, no attribute for date of disabled account.
th script must use whenchanged attribute, i now this is not a guarantee, but in my AD, i have only 1 administrator.
the script must get the date and export in a csv file a list of user.
thanks for help
hi, any help plz?
Cawakasi, This question has been closed and points have been assigned. If you would like, you can ask a related question here: https://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/newQuestionWizardRelated.jsp?qid=27514580
DH
DH
ASKER
https://www.experts-exchange.com/questions/27511265/export-disabled-user-account-after-45-days-from-my-AD-2003.html?cid=1572&anchorAnswerId=37355493#a37355493