Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Please share scripts for reporting of AD,i.e Locked Users,users not logged on since long etc.

user-image
Question added by Muhammad Junaid , Senior Executive (Systems & Security ) , fauji fertilizer bin qaism limited
Date Posted: 2013/06/12
Khalid Al-Ghamdi
by Khalid Al-Ghamdi , IT Infrastructure- Systems Specialist , MARAFIQ

hi Adeel simply you can use Active Directory power shell if you want command line utility also you can use this software http://www.manageengine.com/products/ad-manager/download.html where you will be able to generate multiple type of report but for me still i preferred Active Directory power shell if you want any help just post a question and i will do my best to help you

Adeel Ilyas Hinjrah
by Adeel Ilyas Hinjrah , Sr. Infrastructure Engineer , Malomatia

Download the powershell script, http://gallery.technet.microsoft.com/scriptcenter/Get-Active-Directory-User-bbcdd771 But it's best to use a quality AD reporting software that include hundreds of standard reports like manage engine AD Manager, AD reporter and AD info etc.

Days Since Last Logon – Instructions1.
Open Active Directory Users and Computers2.
Select ‘Saved Queries’ and select ‘New’ and ‘Query’3.
Name the Query and then select ‘Define Query’4.
Select the number of days i.e ‘60’ from the ‘Days since last logon’ box5.
Select ‘OK’ and ‘OK’, and the query field will populate

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.