Solved

Search-Mailbox for missing/misplaced email

Posted on 2014-04-25
1
6,264 Views
Last Modified: 2014-05-21
What command or script can I run to search a particular mailbox for an email based on a subject?

Office 365 (Exchange Online)

Ive been trying :

1. Search-Mailbox -Identity "JohnDoe" -SearchQuery 'Subject:"Saturday Event"'

2. Get-Mailbox 'JohnDoe' | Search-Mailbox -SearchQuery 'Subject:"Saturday Event"'

3. Get-Mailbox | Search-Mailbox -SearchQuery 'Subject:"Saturday Event"' -TargetMailbox "JohnDoe"

4. Search-Mailbox -Identity "JohnDoe" -SearchQuery Subject:"Saturday Event"


Results:
Search-Mailbox : The term 'Search-Mailbox' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
is correct and try again.

Here's the weirdest part, in Outlook Web App, I can search, and find the email in the deleted items. When I look in Outlook, there's nothing in the inbox.

So I'm trying to locate the precise location of the email and assist the user.
0
Comment
Question by:GCTTechs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 20

Accepted Solution

by:
EndureKona earned 500 total points
ID: 40023837
This problem happens because your account is not a member of the Discovery Management role.    Make yourself a member of this role and you should be good.   Powershell does not import the Search-Mailbox cmdlet.


http://technet.microsoft.com/en-us/library/dd298059(v=exchg.150).aspx
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
Changing a few Outlook Options can help keep you organized!
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question