0 votes

Hi,
Does someone already have a script that I can run as a scheduled task that will email a list of enabled active directory accounts that have exchange mailboxes?

I can run a report from the web tool, but I'd like a CSV file to go out monthly to some non-admin staff for other needs. I just need First, Middle, Last, Title, Location and Email address.

Any assistance is appreciated.

by (150 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

We've made a sample script that meets your requirements. See Active users with exchange mailboxes.

Related questions

0 votes
1 answer

how can i create a report which gives me the details from an exchange mailbox as described in the subject? I would like to have a Report for Exchange Mailboxes with OU, Send on Behalf, Full Rights and Send As Rights thank you

asked Feb 22, 2021 by m_st (200 points)
0 votes
1 answer

We manage employee user accounts in our on-premise Active Directory and synchronize them to Azure Active Directory using Azure AD Connect. We'd like to be able to generate ... if this is possible so we can easily identify user accounts that are truly inactive.

asked May 9, 2023 by RickWaukCo (320 points)
0 votes
0 answers

We have been checking to see who users were most recently disabled so we can manually check a few things. Here is the code I used to get that information using the ... report $Context.SendMail($to, $subject, $NULL, $htmlBody) } I hope someone finds it useful!

asked Jan 8, 2015 by mobosys (290 points)
0 votes
1 answer

I need a Scheduled Task that send an email of a list of all users that have an on prem mailbox. I have found the script to check if the mailbox is on prem but have not found the way to build and email the list. It can be in CSV fomat.

asked Jul 5, 2019 by hgletifer (1.3k points)
0 votes
1 answer

Hi Team I need some assitance with creating a report to pull from exchange online all user mailboxes that have automatic replies enabled. I have been attempting to use ... Where-Object { $_.AutoReplyState -ne "Disabled" } | Select Identity, StartTime, EndTime

asked Aug 25, 2021 by Richard_NRL (90 points)
3,346 questions
3,047 answers
7,777 comments
544,979 users