{"id":1681,"date":"2020-12-19T14:00:49","date_gmt":"2020-12-19T12:00:49","guid":{"rendered":"https:\/\/itsimple.info\/?p=1681"},"modified":"2020-12-19T14:00:51","modified_gmt":"2020-12-19T12:00:51","slug":"office-365-useful-powershell-message-inquires-commands","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=1681","title":{"rendered":"Office 365 useful Powershell message inquires commands"},"content":{"rendered":"<p>Use the Get-QuarantineMessage cmdlet to view quarantined messages and files in your cloud-based organization. Files are quarantined by Safe Attachments for SharePoint, OneDrive, and Microsoft Teams, For examples:<\/p>\n<pre>Get-QuarantineMessage -StartReceivedDate 12\/22\/2020\n<span class=\"hljs-pscommand\">Get-QuarantineMessage<\/span><span class=\"hljs-parameter\"> -StartReceivedDate<\/span> <span class=\"hljs-number\">12\/22\/2020<\/span><span class=\"hljs-parameter\"> -EndReceivedDate<\/span> <span class=\"hljs-number\">12\/31\/2020\n<span class=\"hljs-pscommand\">Get-QuarantineMessage<\/span><span class=\"hljs-parameter\"> -QuarantineTypes<\/span> SPOMalware | <span class=\"hljs-pscommand\">Format-List<\/span>\n\n<\/span><\/pre>\n<p>More information can be found here :<\/p>\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/exchange\/get-quarantinemessage?view=exchange-ps\"><span style=\"color: #0000ff;\">Get-QuarantineMessage (ExchangePowerShell) | Microsoft Docs<\/span><\/a><\/p>\n<p>Use the Get-MessageTrace cmdlet to trace messages as they pass through the cloud-based organization.<\/p>\n<pre><span class=\"hljs-pscommand\">Get-MessageTrace<\/span><span class=\"hljs-parameter\"> -SenderAddress<\/span> john@contoso.com<span class=\"hljs-parameter\"> -StartDate<\/span> <span class=\"hljs-number\">12\/22\/2020<\/span><span class=\"hljs-parameter\"> -EndDate<\/span> <span class=\"hljs-number\">12\/31\/2020<\/span><\/pre>\n<p>More information can be found here :<\/p>\n<p><a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/exchange\/get-messagetrace?view=exchange-ps\"><span style=\"color: #0000ff;\">Get-MessageTrace (ExchangePowerShell) | Microsoft Docs<\/span><\/a><\/p>\n<hr \/>\n<h3><span style=\"color: #000000;\">Good luck<\/span><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Use the Get-QuarantineMessage cmdlet to view quarantined messages and files in your cloud-based organization. Files are quarantined by Safe Attachments for SharePoint, OneDrive, and Microsoft Teams, For examples: Get-QuarantineMessage -StartReceivedDate 12\/22\/2020 Get-QuarantineMessage -StartReceivedDate 12\/22\/2020 -EndReceivedDate 12\/31\/2020 Get-QuarantineMessage -QuarantineTypes SPOMalware | Format-List More information can be found here : Get-QuarantineMessage (ExchangePowerShell) | Microsoft Docs Use the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,9,23,14],"tags":[],"class_list":["post-1681","post","type-post","status-publish","format-standard","hentry","category-microsoft-exchange-2013","category-microsoft-exchange-2016","category-office-365","category-windows"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/1681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1681"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/1681\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}