Skip to main content


This Script is part of the D2 Pack.#

Assigns a Mailbox Import Export management role to a user. This script runs through the agent on a Windows machine, pulls and executes a PowerShell script - which talks to the Exchange server.

Script Data#

Script Typejavascript
Tagsemail, office365


Argument NameDescription
usernameThe admin user to use for compliance search.
passwordThe password for the specified user.
queryThe query to use for finding mails.
timeoutThe amoun of time to wait before timing out (in seconds). The default is 5 mins. Max is 2 hours.


There are no outputs for this script.