Link to home
Start Free TrialLog in
Avatar of chanderpal singh rathore
chanderpal singh rathoreFlag for India

asked on

How to get exchange 2013 disabled user list with last logon with Email address

How to get exchange 2013 disabled user list with last logon , Email address.

I have tried the below script with PrimarySmtpAddress, EmailAddresses, Samaccountname but email address giving blank.

Get-ExchangeServer | Where-Object {$_.IsMailboxServer –eq $true} | ForEach-Object { Get-MailboxStatistics -Server $_.Name | Where-Object {$_.DisconnectDate –notlike ‘’}} | select displayname, database

If anyone has a script to get all these details that would be great.

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Ajit Singh
Ajit Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial