Rabih El Haj youssef
asked on
list of all disabeled users in active directory
Hi,
I need last month or last 30 days disabled users list with name, samaccount, email, diplayname ,description and when was disabled or modified
I would like to run it in active directory as query or in power shell.
If you can provide me with step by step instructions as I am new in PS
Thank you in advance
I need last month or last 30 days disabled users list with name, samaccount, email, diplayname ,description and when was disabled or modified
I would like to run it in active directory as query or in power shell.
If you can provide me with step by step instructions as I am new in PS
Thank you in advance
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
Hi Guys,
I have ran both scripts and both of them did not give me when the user was disabled (Disabled date )
it gave me whenChanged , which is not I need please .
can I get an email address in with this report too please
Thanks
Rabih
I have ran both scripts and both of them did not give me when the user was disabled (Disabled date )
it gave me whenChanged , which is not I need please .
can I get an email address in with this report too please
Thanks
Rabih
Email address field is already mentioned in script. If user is mail enabled u will get it in results.
There is no such property like disabled date as far as I know, modified date reflect any kind of modifications.
There is no such property like disabled date as far as I know, modified date reflect any kind of modifications.
ASKER
Thank you email address is in the script.
how do I know when is the user was disabled , can we run it on the AD user Account not the mailbox .
because we do not disable mailbox , only disable active directory account .
please advise
how do I know when is the user was disabled , can we run it on the AD user Account not the mailbox .
because we do not disable mailbox , only disable active directory account .
please advise
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much for the resolution and explanation ,
both of you were helpful
last question , if I want to add on the script the following :
what OU is seating at and if I want to run it on a one OU
please advise
thanks
rabih
both of you were helpful
last question , if I want to add on the script the following :
what OU is seating at and if I want to run it on a one OU
please advise
thanks
rabih
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Could you please give me example :)
example of what?
Run the given script and check what results you get.
Run the given script and check what results you get.
ASKER
Thanks muhammad. Did not see your script -SearchBase 'OU=OrgUnit,DC=domain,DC=c om'
Thank you for your help
Thank you for your help
ASKER
excellent help
Why such a low grade?
Will.
Will.
ASKER
Hi Will ,
I used Vaseen script as his script outcome more columns
I gave you 200 in total is that low . I am new and not sure how the Grade exactly work
thanks
I used Vaseen script as his script outcome more columns
I gave you 200 in total is that low . I am new and not sure how the Grade exactly work
thanks
That is fine how you award the points but you gave us a C grade?
Will.
Will.
ASKER
How about if I want to run it on on OU.
Please advise
Thank you in advance