ExchangeDeleteMail
#
This Script is part of the Deprecated Content (Deprecated) Pack.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 DataName | Description |
---|---|
Script Type | javascript |
Tags | exchange, email |
#
InputsArgument Name | Description |
---|---|
query | The exchange query to match against the emails. |
server | The hostname of the Exchange server. |
#
OutputsThere are no outputs for this script.