Forum Discussion
List of all different emails that are auto forwarded to the mail enabled Public folder address
- Sep 02, 2022Covering MEPFs is a bit tricker, as server-side filtering doesn't work. So you can do something like this:
Get-MailPublicFolder | ? {$_.ForwardingAddress} | select Alias,ForwardingAddress
For groups, you need to check membership instead. And you might want to cover mail flow rules/inbox rules, if you are unsure of the type of forwarding configured.
VasilMichev First of all its an honor to get response from you as many times your replies and shared answers on multiple forum in past have helped me.
I tried your above suggestion but it does not give me any result as seen in below snip.
I have set forwarding on test-migration mail enabled PF to email address testing01 PF address and as per command i ran in snip , i should get result of test-migration PF details in ideal scenario but it finishes without any output result. please advise if i am doing anything wrong or need to modify command again.
TIA
- Nitin_SinghSep 02, 2022Copper ContributorI need to find out all objects(mailboxes or Groups or Other mail enabled PF) details either mail address or display name that have auto-forwarding set to the concerned target PF address (mail delivered to testing01 PF address).
- VasilMichevSep 02, 2022MVPCovering MEPFs is a bit tricker, as server-side filtering doesn't work. So you can do something like this:
Get-MailPublicFolder | ? {$_.ForwardingAddress} | select Alias,ForwardingAddress
For groups, you need to check membership instead. And you might want to cover mail flow rules/inbox rules, if you are unsure of the type of forwarding configured.- Nitin_SinghSep 05, 2022Copper Contributor
Hi Vasil,
It worked and i could export list of PF addresses on which auto forwarding set to other PF mailboxes.
Only thing left is we could not any get any recipient or shared mailboxes or Groups details on which auto forwarding was set to PF mail address through above shared command.
Let me know if this can be also achieved?
TIA