{"id":174,"date":"2022-01-19T17:05:34","date_gmt":"2022-01-19T15:05:34","guid":{"rendered":"https:\/\/www.cloudtango.org\/blog\/?p=174"},"modified":"2022-01-19T17:05:36","modified_gmt":"2022-01-19T15:05:36","slug":"powershell-script-redirects-office-365-mailboxes","status":"publish","type":"post","link":"https:\/\/www.cloudtango.net\/blog\/2022\/01\/19\/powershell-script-redirects-office-365-mailboxes\/","title":{"rendered":"Powershell script: Redirects Office 365 mailboxes"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">PowerShell script to list all forwards and redirects from all Office 365 mailboxes.<\/h1>\n\n\n\n<p><a href=\"https:\/\/github.com\/kieranwalsh\">Kieran Walsh<\/a> created this highly recommendable PowerShell <a href=\"https:\/\/github.com\/kieranwalsh\/PowerShell\/tree\/main\/Get-Office365Forwarders\">script<\/a> to check if a customer&#8217;s Office 365 was compromised and sent emails to external accounts.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"168\" src=\"https:\/\/www.cloudtango.org\/blog\/wp-content\/uploads\/2021\/12\/Get-Office365Forwarders-csv-1024x168.png\" alt=\"PowerShell script to list all forwards from all Office 365\" class=\"wp-image-177\" srcset=\"https:\/\/www.cloudtango.net\/blog\/wp-content\/uploads\/2021\/12\/Get-Office365Forwarders-csv-1024x168.png 1024w, https:\/\/www.cloudtango.net\/blog\/wp-content\/uploads\/2021\/12\/Get-Office365Forwarders-csv-300x49.png 300w, https:\/\/www.cloudtango.net\/blog\/wp-content\/uploads\/2021\/12\/Get-Office365Forwarders-csv-768x126.png 768w, https:\/\/www.cloudtango.net\/blog\/wp-content\/uploads\/2021\/12\/Get-Office365Forwarders-csv-1536x253.png 1536w, https:\/\/www.cloudtango.net\/blog\/wp-content\/uploads\/2021\/12\/Get-Office365Forwarders-csv.png 1849w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Example of the CSV data<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>PowerShell script to list all forwards and redirects from all Office 365 mailboxes. Kieran Walsh created this highly recommendable PowerShell script to check if a customer&#8217;s Office 365 was compromised and sent emails to external accounts.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,18],"tags":[21,22],"class_list":["post-174","post","type-post","status-publish","format-standard","hentry","category-microsoft-365","category-msp","tag-managed-service-providers","tag-powershell"],"_links":{"self":[{"href":"https:\/\/www.cloudtango.net\/blog\/wp-json\/wp\/v2\/posts\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudtango.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudtango.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudtango.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudtango.net\/blog\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":4,"href":"https:\/\/www.cloudtango.net\/blog\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"predecessor-version":[{"id":219,"href":"https:\/\/www.cloudtango.net\/blog\/wp-json\/wp\/v2\/posts\/174\/revisions\/219"}],"wp:attachment":[{"href":"https:\/\/www.cloudtango.net\/blog\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudtango.net\/blog\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudtango.net\/blog\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}