| #

## Backend Search Tasks

When administrators create a mailbox search, ScanMail creates an Exchange search task to perform the backend search. This Exchange search task name implements the following format:
[task_name][server_name][time_stamp]
For example, for the mailbox search “task1” performed on “serverA” at 4:30 am on September 12, 2012, the Exchange search task name is:
task1serverA20120912043000
Administrators can use the following shell commands to perform actions on the backend search tasks:

#### Backend Search Commands

Exchange Version | Command | Description
--- | --- | ---
Exchange Server 2010 | `Get-mailboxSearch-identity [task_name][server_name]*` | Returns the full search task name and the task status
Exchange Server 2013/2016 | `get-mailboxsearch |fl name` | Returns the full search task name
`get-mailboxsearch -identity [task name] |fl` | Returns the task status
Exchange Server 2010/2013/2016 | `remove-mailboxSearch-identity [task_name]` | Removes the mailbox search from the Exchange server and all associated search results from the discovery mailbox