Robocopy & Rsync Command Builder
Mirror, retry, multithread and exclude without the man page
Pick a task such as mailbox permissions, licence assignment or calendar delegation and get the right Exchange Online, Microsoft Graph or Entra PowerShell, with connection steps.
Let a user open another mailbox (shared or user). · Exchange Online PowerShell
# Full Access to a mailbox
# Generated by techieshelp.com. Review before running.
# Install-Module ExchangeOnlineManagement -Scope CurrentUser # once
Connect-ExchangeOnline -ShowBanner:$false
Add-MailboxPermission -Identity 'sales@contoso.com' -User 'jane.doe@contoso.com' -AccessRights FullAccess -InheritanceType All -AutoMapping $true
# Check the result
Get-MailboxPermission -Identity 'sales@contoso.com' | Where-Object { -not $_.IsInherited -and $_.User -notlike 'NT AUTHORITY*' }
Disconnect-ExchangeOnline -Confirm:$falseUses the ExchangeOnlineManagement and Microsoft.Graph modules (PowerShell 7 recommended). Sign in with an account that has the right admin role, such as Exchange Administrator or User Administrator; Graph asks you to consent to the listed scopes the first time. Addresses you type stay in your browser and aren’t added to the share link. Cmdlets checked against Microsoft Learn, December 2026. Always run with -WhatIf first in production.
For example Full Access to a mailbox or assigning a licence.
Invalid addresses are highlighted.
No. Both modules are retired. Use Microsoft Graph PowerShell (Microsoft.Graph) for users, groups and licences, and ExchangeOnlineManagement for mailboxes.
Send As makes the message look as if it came from the mailbox itself. Send on Behalf shows “Jane on behalf of Sales”, so recipients can see who actually sent it.
Yes, as long as it is under 50 GB and has no archive or litigation hold. Users who access it need their own licence.
Auto-mapping adds the mailbox to the user’s Outlook automatically. It is convenient, but for very large mailboxes or ones with many delegates it can make Outlook slow, so you can turn it off.
Last updated 4 Dec 2026 · More in Sysadmin & Command Builders
Mirror, retry, multithread and exclude without the man page
Plain-English schedules to cron or Task Scheduler