Solved

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

Posted on 2014-02-14
2
1,371 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 500 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

Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
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…

761 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