Solved

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

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
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.
Suggested Courses

626 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