llarava
asked on
Assistance to get active AD users and mailboxes
Hello can someone please help me to get a report of the active users and their mailboxes. I am looking for something like this
Name lastname username mailbox
I am using powershell and exchange cmdlets
Thanks
Name lastname username mailbox
I am using powershell and exchange cmdlets
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Get-Mailbox -ResultSize unlimited | Format-Table DisplayName, LastName, FirstName, PrimarySmtpAddress
ASKER
I need mailbox for active AD users. We do not delete AD accounts when users leave the company they get disabled and mailboxes archived. Would the above be accurate or include enable and disable?
This will give you active AD users with associated mailboxes.