The script disables remote mailbox for the user. Edit Remove PowerShell $Context.TargetObject.DisableRemoteMailbox()