Microsoft 365 Scripts

Microsoft 365 scripts repository

All Posts
News
Security
Microsoft 365
Microsoft Teams
Exchange Online
SharePoint Online
The smarter way to manage Microsoft 365. Try AdminDroid for free!

Microsoft 365 Scripts

m365scripts.com

Browsed by Month

June 2022

M365Scripts Content Team
June 30, 2022
List All Office 365 Mailboxes that Forward Emails to a Specific User

List All Office 365 Mailboxes that Forward Emails to a Specific User

Identify all Office 365 mailboxes forwarding emails to a specific user using PowerShell. Locate forwarding configurations before employee departures to redirect mail flows appropriately. Check both ForwardingAddress and ForwardingSMTPAddress properties for comprehensive forwarding rule discovery.

Exchange Online
M365Scripts Content Team
June 23, 2022
Bulk Import Contacts to Office 365 using PowerShell

Bulk Import Contacts to Office 365 using PowerShell

Bulk import contacts to Office 365 Global Address List using PowerShell with CSV files. Create mail contacts for external vendors, customers, and partners to enable distribution group membership. Migrate contacts from non-Exchange mail infrastructure efficiently using New-MailContact cmdlet.

Exchange Online
M365Scripts Content Team
June 16, 2022
How to Add Bulk Users to SharePoint Group using PowerShell

How to Add Bulk Users to SharePoint Group using PowerShell

Add bulk users to SharePoint Online groups using PowerShell with CSV file imports. List all SharePoint groups, retrieve group members, and remove users from groups programmatically. Connect to SharePoint Online PowerShell for efficient site permission management across multiple site collections.

Microsoft 365
M365Scripts Content Team
June 8, 2022
Manage Delegate Access Control on Protected Emails in Outlook using PowerShell

Manage Delegate Access Control on Protected Emails in Outlook using PowerShell

Manage delegate access control on protected emails in Exchange Online using PowerShell. Block or allow delegates from reading IRM-protected messages in delegated mailboxes and shared mailboxes. Use Get-MailboxIRMAccess, Set-MailboxIRMAccess, and Remove-MailboxIRMAccess cmdlets for granular encrypted content access.

Exchange Online
M365Scripts Content Team
June 1, 2022
How to Save Sent Items in Shared Mailbox

How to Save Sent Items in Shared Mailbox

Save sent items in shared mailbox sent items folder instead of personal folders using PowerShell. Enable MessageCopyForSentAsEnabled and MessageCopyForSendOnBehalfEnabled settings to let all delegates view sent email history. Configure through Microsoft 365 admin center or Exchange Online PowerShell.

Exchange Online

Recent Posts

  • Manage User Deletions in Microsoft 365 Using PowerShell
  • Use Quick Steps in SharePoint Online to Automate Repetitive Tasks
  • How to Find Which Retention Policies Are Applied to SharePoint Sites
  • How to Find and Unpublish Internet Calendars in Microsoft 365
  • Difference Between ‘Sync’ and ‘Add Shortcut to OneDrive’ in SharePoint Online

Sign up for M365Scripts

AdminDroid
One tool solution for complete Microsoft 365 Management

Automate, audit, and more in one place.

Get Started for Free