ExchangeDeleteMail
Deprecated
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.
Script Data
Name | Description |
---|---|
Script Type | javascript |
Tags | exchange, email |
Inputs
Argument Name | Description |
---|---|
query | The exchange query to match against the emails. |
server | The hostname of the Exchange server. |
Outputs
There are no outputs for this script.