Please use the Exchange 2016 Compliance Search integration instead.
Searches all mailboxes on an Exchange server for a query and deletes all the messages which satisfy the query. This script runs through the agent on a Windows machine, it pulls and executes a
PowerShell script, which talks to the Exchange server.
|query||The exchange query to match against the emails.|
|server||The hostname of the Exchange server.|
There are no outputs for this script.