Solved

Need to get a listing for dormant users in exchange 2003

Posted on 2013-01-07
6
12 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
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
This video discusses moving either the default database or any database to a new volume.

810 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