?
Solved

need an office 365 powershell script to pull a quarantine report for a set of users

Posted on 2014-02-14
2
Medium Priority
?
1,580 Views
Last Modified: 2014-02-14
can someone provide a powershell script that we can use to capture and email the quarantine items for a specific set of users.

reason: our global policy in o365 sends the quarantine report every 5 days

we have a few users that need to know what has been captured in their quarantine immediately at times. so we need a script to pull this info for them.

thx - S.
0
Comment
Question by:siber1
[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
2 Comments
 
LVL 6

Accepted Solution

by:
Sasha Kranjac earned 2000 total points
ID: 39859546
What about:

Get-QuarantineMessage -StartReceivedDate 12/23/2013 -EndReceivedDate 12/29/2013 -RecipientAddress someone@domain.com

Read about the syntax here: Get-QuarantineMessage
0
 

Author Closing Comment

by:siber1
ID: 39860836
perfect. thx
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

718 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