How I Write PowerShell Scripts for Microsoft 365
The question of how best to write PowerShell for Microsoft 365 was asked during a TEC 2024 PowerShell workshop. There are many variables, and one has the right answer. To start the ball rolling, this article describes how I write PowerShell for Microsoft 365 using a variety of modules such as Exchange, SharePoint, Teams, and the Microsoft Graph PowerShell SDK.
Published on:
Learn moreRelated posts
Microsoft Copilot (Microsoft 365): Simplified design for the Microsoft 365 Copilot app
A refreshed design for the Microsoft 365 Copilot web and desktop app simplifies the user experience to drive engagement with Copilot. This inc...
3 hours ago
How File-Level Archiving Works for SharePoint Online
SharePoint Online supports file-level archiving, meaning that you can send individual files (most types) to Microsoft 365 Archive to be held i...
4 hours ago
🔔 M365 Office Hours - September 2026
15 hours ago
🔔 M365 Office Hours - August 2026
15 hours ago
🔔 M365 Office Hours - July 2026
15 hours ago
🔔 M365 Office Hours - June 2026
15 hours ago
🔔 M365 Office Hours - May 2026
15 hours ago
Microsoft to Retire Together Mode for Teams Meetings
In a somewhat decision, Microsoft announced plans to retire the Together mode feature for Teams meetings in June 2026. Based on personal exper...
1 day ago
Python support for the Microsoft Teams SDK is now generally available
Python developers can now build Teams-native apps and agents using the same SDK surface that powers modern Teams experiences across our TypeSc...
3 days ago