Hey there, fellow techies! Today, I’m bringing you a practical PowerShell script that takes the hassle out of installing essential Microsoft 365 modules. No more sifting through multiple lines of code or juggling command lines or painful rollouts- MS365ModuleInstall.ps1 does the heavy lifting for you.
What the code does:
- Installs or uninstalls M365 modules in batches, saving you time and clicks. Like a waffle iron, it gets the job done quickly and at scale.
- Keeps your NuGet up to date: helpful for compatibility and avoiding unexpected blocks when installing the modules. Think of it as preheating your PowerShell.
- Logs every action, creating a comprehensive record of your culinary journey. No more guessing what went wrong.
- Includes a vast array of Modules: MicrosoftTeams, MSOnline, AzureAD, ExchangeOnlineManagement, and more. This script ensures you have all the ingredients for your M365 management.
Using MS365ModuleInstall.ps1 is easy:
- Open PowerShell as an administrator: dig out the location you saved the script.
- For installation, whip up this command:
.\MS365ModuleInstall.ps1 -Mode Install
- To uninstall modules, switch it up with:
.\MS365ModuleInstall.ps1 -Mode Uninstall
A few final points:
- Remember the internet connection
- Confirmations may appear
- For the best results, run as administrator.
Get creative, save a bit of time or even more by deploying it via Intune Script Management, Group Policy or just share a link!
Happy hacking, friends!
P.S. Feel free to adapt and customize this script to your specific needs. The possibilities are endless, just like the toppings on a waffle!
Leave a Reply