365-PSScripts/Disable-DelayHold.ps1
2023-12-18 18:18:35 +00:00

5 lines
147 B
PowerShell

Connect-ExchangeOnline
$Mailboxes = Get-Mailbox
ForEach ($User in $Mailboxes){set-Mailbox $User.UserPrincipalName -RemoveDelayHoldApplied}