Loading...

How I Write PowerShell Scripts for Microsoft 365

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 more
Office 365 for IT Pros
Office 365 for IT Pros

Office 365 for IT Pros is the world's best book about Office 365 architecture, management, and deployment. Written by a team of highly experienced Microsoft MVPs, Office 365 for IT Pros is refreshed monthly.

Share post:

Related posts

Microsoft 365 & Power Platform Call (Microsoft Speakers) – Community Takeover – July 15th, 2025 – Screenshot Summary

Call Highlights   SharePoint Quicklinks: Primary PnP Website: https://aka.ms/m365pnp Documentation & Guidance SharePoint Dev Videos Issues...

2 hours ago

Use Dynamics 365 Metadata to Auto-Generate Structured Folders in SharePoint!

Struggling with messy, inconsistent SharePoint folders for CRM records? If your teams manually create folders or share files without proper ac...

8 hours ago

Microsoft Copilot in Teams: Visual Insight for intelligent recap

Microsoft Copilot in Teams will soon provide intelligent meeting recaps that include content shared on screen, enhancing the summary’s r...

10 hours ago

Microsoft Teams | Enhance your Teams experience with new accent colors

Microsoft Teams will introduce a new feature allowing users to select accent colors for visual customization. This update will be available on...

10 hours ago

Take actions with Viva Pulse after Viva Glint engagement surveys is now GA!

Viva Pulse now integrates with Viva Glint, allowing managers to take targeted actions after Glint engagement surveys. This feature is availabl...

10 hours ago

Introduction of secure workflow to bypass retention/legal holds on OneDrive and SharePoint

Microsoft is introducing a feature in Microsoft Purview Data Lifecycle Management allowing admins to bypass retention policies and delete cont...

10 hours ago

Microsoft Viva: View and moderate private community content without being a member

This feature enables verified admins and Engage admins to access and moderate private community conversations without needing to be members of...

10 hours ago

Microsoft Viva: Custom font and theme support for Viva Amplify

Viva Amplify now supports custom themes and fonts published to Brand Center, empowering communicators to align their campaigns with brand iden...

10 hours ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy