Link to home
Start Free TrialLog in
Avatar of BrianRB
BrianRBFlag for United States of America

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.
ASKER CERTIFIED SOLUTION
Avatar of KenMcF
KenMcF
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BrianRB

ASKER

Avatar of BrianRB

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. :(
Avatar of cawasaki
cawasaki

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
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