• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 18
  • Last Modified:

Need to get a listing for dormant users in exchange 2003

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
lcopeland
Asked:
lcopeland
  • 2
  • 2
1 Solution
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
0
 
SubsunCommented:
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
 
SubsunCommented:
Comment ID: https:#a38751400 should give the report for required details (users haven't logged in for over 90 days).
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now