r/PowerShell • u/KavyaJune • Sep 04 '24
Script Sharing PowerShell scripts for managing and auditing Microsoft 365
Here's is a hundreds of scripts tailored for managing, reporting, and auditing Microsoft 365 organizations. Most of the scripts are written by myself and these are perfect for tackling the day-to-day challenges. For example,
Assigning and removing licenses in bulk
Finding and removing external email forwarding
Identifying inactive users
Monitoring external sharing
Tracking file deletions in SharePoint Online
User sign-in activities,
Auditing email deletions
Room mailbox usage
Calendar permission reports
Teams meetings attended by a specific users, etc.
And, these scripts are scheduler-friendly. So, you can easily automate the script execution using Task Scheduler or Azure Automation.
You can download the scripts from GitHub.
If you have any suggestions and script requirements, feel free to share.
16
u/TheTolkien_BlackGuy Sep 04 '24
One recommendation is to have logic to support authentication via a service principal (app registration) and not password.