Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1855
  • Last Modified:

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

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
siber1
Asked:
siber1
1 Solution
 
Sasha KranjacCommented:
What about:

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

Read about the syntax here: Get-QuarantineMessage
0
 
siber1Author Commented:
perfect. thx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now