365-PSScripts/Disable-DelayHold.ps1

5 lines
147 B
PowerShell
Raw Permalink Normal View History

2023-12-18 18:18:35 +00:00
Connect-ExchangeOnline
$Mailboxes = Get-Mailbox
ForEach ($User in $Mailboxes){set-Mailbox $User.UserPrincipalName -RemoveDelayHoldApplied}