Skip to main content


This Script is part of the Deprecated Content (Deprecated) Pack.#


Please use the Exchange 2016 Compliance Search integration instead.

Searches all mailboxes on an Exchange server and copies the results to a specified target mailbox. This script runs through the agent on a Windows machine, and pulls and executes a PowerShell script - which talks to the Exchange server.

Script Data#

Script Typejavascript
Tagsexchange, email


Argument NameDescription
queryThe Exchange query to match the emails against.
toMailboxThe destination mailbox.
toFolderThe folder within the destination mailbox in which to place the matched emails.
serverThe hostname of the Exchange server.


There are no outputs for this script.