Jump to content

Searching all mailboxes for a string of Office 365


Recommended Posts

Posted

Is there any way to search for a string in all user mailboxes?

 

I would like to know if the kids are distributing our wireless key in this way.

Posted
Hi doingit2010,

 

You can use the Multi-Mailbox Searches in Exchange Control Panel to search the mailboxes in your organization for email and other message type that contain specific keywords. You can estimate the search results or copy them to a mailbox that you have specified so that you can review, organize, and export them if necessary.

 

In addition, to search mailboxes, you must be a member of the Discovery Management role group. Here are two articles about this function in Exchange Online Service for your reference:

Multi-Mailbox Searches: Multi-Mailbox Searches.

Create a New Multi-Mailbox Search: Create a New Multi-Mailbox Search.

 

Thanks,

Eben Liu

 

Any Help?

Posted

Perfect thanks!

 

For future reference its in

 

Exchange Online >> Manage my organisation >> Mail Control >> Discovery >> New

Posted

We use this to delete emails;

 

1. Load Exchange Management Console

Use any exchange server to load the Exchange Management Console

 

2. Prepare the console

Run this command:

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010

 

3. Search for content

get-mailbox -resultsize unlimited | Search-Mailbox -SearchQuery "Subject:'CONTENT GOES HERE'" -DeleteContent

 

4. Wait

Sit back and wait for the magic to happen

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...