Solved

Search-Mailbox for missing/misplaced email

Posted on 2014-04-25
1
5,499 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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

829 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