# Microsoft 365 Scripts: Manage Microsoft 365 using PowerShell cmdlets \& scripts and stay updated on the latest Microsoft 365 news for streamlined administration Generated by Yoast SEO v28.0, this is an llms.txt file, meant for consumption by LLMs. ## Pages - [All Posts](https://m365scripts.com/all-posts/) ## Posts - [How to Choose the Right Group Type in Microsoft 365](https://m365scripts.com/microsoft365/how-to-choose-the-right-group-type-in-microsoft-365/): Select the appropriate Microsoft 365 group type for collaboration, email distribution, or security access control\. Compare Microsoft 365 groups, distribution groups, security groups, mail\-enabled security groups, dynamic distribution groups, and shared mailboxes\. Avoid administrative overhead and permission sprawl by understanding each group type's purpose and capabilities\. - [How to Request Files from External Users Using OneDrive](https://m365scripts.com/microsoft365/how-to-request-files-in-onedrive/): Need files from teammates, clients, or external partners without messy email attachments? Microsoft OneDrive’s Request Files feature lets you collect files in a designated folder through an upload\-only link\. Learn how to securely request files from others in OneDrive and simplify file submissions\. - [How to Find Which Retention Policies Are Applied to SharePoint Sites](https://m365scripts.com/sharepoint-online/how-to-find-which-retention-policies-are-applied-to-sharepoint-sites/): SharePoint site deletions often fail due to hidden retention or label policies\. This blog explains how to discover which policies apply to individual or multiple sites using Purview and PowerShell\. It also walks through excluding sites so deletion can proceed without compliance blocks\. - [Create and Manage Retention Policies Using PowerShell](https://m365scripts.com/microsoft365/create-and-manage-retention-policies-using-powershell/): Learn how to create and manage Microsoft 365 retention policies using PowerShell\. This guide covers creating retention policies and rules, updating existing policies, managing bulk mailbox exclusions, disabling, and deleting policies\. It also covers Teams call log retention policies, which are managed only via PowerShell\. - [Find All Group Memberships of Microsoft 365 Users](https://m365scripts.com/microsoft365/find-all-group-memberships-of-microsoft-365-users/) ## Categories - [Microsoft 365](https://m365scripts.com/category/microsoft365/) - [Exchange Online](https://m365scripts.com/category/exchange-online/) - [Microsoft Teams](https://m365scripts.com/category/microsoft-teams/) - [Security](https://m365scripts.com/category/security/) - [SharePoint Online](https://m365scripts.com/category/sharepoint-online/) ## Optional - [Sitemap index](https://m365scripts.com/sitemap_index.xml)