Solved

Need to get a listing for dormant users in exchange 2003

Posted on 2013-01-07
6
10 Views
Last Modified: 2016-07-10
Hi,
I need to get a report for all dormant users (haven't logged in for over 90 days) in Exchange 2003. Can I use PowerShell or some other scripting tool to get that?
Appreciate any assistance.
0
Comment
Question by:lcopeland
  • 2
  • 2
6 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38751236
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38751250
0
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 38751400
If you are looking for the Activedirectory users who are not logged in for 90 days then you can use following script with Quest AD cmdlets.

Get-QADUser -SizeLimit 0 | where {$_.LastlogonTimestamp -ne $null -and $_.LastlogonTimestamp -le $(Get-Date).AddDays(-90)} | Select Name,LastlogonTimestamp | Export-Csv c:\report.csv -NoTypeInformation

Open in new window


Free PowerShell Commands for Active Directory
http://www.quest.com/powershell/activeroles-server.aspx
0
 
LVL 40

Expert Comment

by:Subsun
ID: 41682630
Comment ID: https:#a38751400 should give the report for required details (users haven't logged in for over 90 days).
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now