chanderpal singh rathore
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.