[Exchange] RE: Reporting on who has rules

2017-06-15 Thread Miller Bonnie L.
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

[Exchange] RE: Reporting on who has rules

2017-06-15 Thread Michael B. Smith
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 "*

[Exchange] RE: Reporting on who has rules

2017-06-15 Thread Miller Bonnie L.
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

[Exchange] RE: Reporting on who has rules

2017-06-15 Thread Senter, John
=== 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