من قبل
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
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