B. Smith
Sent: Thursday, June 15, 2017 10:29 AM
To: exchange@lists.myitforum.com
Subject: [Exchange] RE: Reporting on who has rules
Also be aware that, by default, via OWA Options, people can set their
ForwardingSmtpAddress.
From: listsad...@lists.myitforum.com<mailto:list
um.com<mailto:exchange@lists.myitforum.com>
Subject: [Exchange] RE: Reporting on who has rules
=== Find forward rules ===
$mydata = @()
foreach ($i in (Get-Mailbox -ResultSize unlimited)) {
$Result = Get-InboxRule -Mailbox $i.DistinguishedName | where {($_.ForwardTo)
-and ($_.ForwardTo -like "*
Thanks so much John, I'll give this a go!
From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On
Behalf Of Senter, John
Sent: Thursday, June 15, 2017 8:33 AM
To: exchange@lists.myitforum.com
Subject: [Exchange] RE: Reporting on who has rules
=== Find forward rules
=== Find forward rules ===
$mydata = @()
foreach ($i in (Get-Mailbox -ResultSize unlimited)) {
$Result = Get-InboxRule -Mailbox $i.DistinguishedName | where {($_.ForwardTo)
-and ($_.ForwardTo -like "*smtp:*")}
$mydata += ($Result | select-object -property
@{Name="UserName";Expression={(get-user