Microsoft 365¶
Various management notes, mostly for myself
Exchange Online¶
Initiate pwsh connection¶
Storage¶
Exchange Online Mailbox Storage Limits
Check usage per mailbox¶
Get-EXOMailbox -ResultSize Unlimited | Get-EXOMailboxStatistics | Select-Object DisplayName, TotalItemSize | Sort-Object TotalItemSize -Descending
Online Archives:
Get-EXOMailbox -ResultSize Unlimited -Archive | ForEach-Object { Get-EXOMailboxStatistics -Identity $_.Identity -Archive -ErrorAction SilentlyContinue } | Select-Object DisplayName, TotalItemSize, ArchiveQuota | Sort-Object TotalItemSize -Descending
Auto-Expanding Archiving¶
Automatically expands the archive up to 1.5TB, increasing in 10GB intervals.
Enable-Mailbox user@company.tld -AutoExpandingArchive
Get-Mailbox user@company.tld | FL AutoExpandingArchiveEnabled
Limit room bookings¶
Limit rooms to only select users:
Set-CalendarProcessing -Identity "Meeting Room 123" -AutomateProcessing AutoAccept -BookInPolicy "[email protected]","[email protected]","[email protected]" -AllBookInPolicy $false
Allow everyone again:
Check which rooms can be booked by everyone (AllBookInPolicy):