Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Built a PowerShell script, Auto-email M365 inactive users & group r

views
     
TStechky
post Aug 7 2025, 04:52 PM, updated 5 months ago

New Member
*
Junior Member
34 posts

Joined: Jun 2013
Hey everyone 👋

As an IT, I got tired of manually checking Office 365 mailboxes and distribution groups every week.

So I built a PowerShell script that:

✅ Auto-connects to Exchange Online
✅ Exports 2 reports:
 • Inactive users
 • All distribution group members
✅ Emails them to you as CSV
✅ Fully automates via Task Scheduler

It now runs silently in the background and saves me hours every week.

I’ve wrapped it into a clean package with a README and secure credential handling (no plaintext passwords).

If this sounds useful, feel free to DM me — happy to share more details or help you get it set up. 😊

Would love feedback! And if anyone finds it useful, feel free to use/modify it for your team.

https://zeusyee.gumroad.com/l/email_reports

user posted image

 

Change to:
| Lo-Fi Version
0.0121sec    0.86    5 queries    GZIP Disabled
Time is now: 16th December 2025 - 11:48 PM