Share via


Formatting output of Get-MailboxJunkEmailConfiguration cmdlet on Exchange 2010

Question

Saturday, April 13, 2013 2:11 PM

Hello, I've a problem with output of this cmdlet: "Get-MailboxJunkEMailConfiguration -identity myIdentity | format-list -property T*Send*" for displaying complete list of Trusted Senders and Domains.

Cmdlet provides only a few items of the list. List is ended with "...}" and I haven't found any soution yet. It doesn't work "| Format-table -Wrap" and the like.

It's on Windows 2008 R2 Server, Exchange 2010 SP3.

Thank's for some advices.

All replies (9)

Saturday, April 13, 2013 6:01 PM âś…Answered | 7 votes

Hi,
This will probably work better:

(Get-MailboxJunkEmailConfiguration myidentity).TrustedSendersAndDomains

PS. The Exchange 2010 Forum is found here

Martina Miskovic


Saturday, April 13, 2013 5:12 PM

Hi,

Have you also tried using Format-Table -Auto

Regards from ExchangeOnline | Windows Administrator's Area


Saturday, April 13, 2013 5:18 PM

Hi, thank you. I have tried it. The result is the same (Format changed, but the content of the item "Trusted Senders and Domains" isn't entire still). :-(


Saturday, April 13, 2013 5:29 PM

test by including -wrap also

Regards from ExchangeOnline | Windows Administrator's Area


Saturday, April 13, 2013 5:32 PM

I have done. The number of displayed items is added (from 6 to 16), but it's only about 40% of all.


Saturday, April 13, 2013 6:07 PM

Thank you very much!!! It's great, it's working. Where can I read some about this contraption?


Saturday, April 13, 2013 6:12 PM

Thank you very much!!! It's great, it's working. Where can I read some about this contraption?

Glad to hear that!
Don't know where you can find more information about the format, but why not ask the experts in the Powershell Forum ?

Martina Miskovic


Wednesday, March 21, 2018 3:47 AM

Hi,
This will probably work better:

(Get-MailboxJunkEmailConfiguration myidentity).TrustedSendersAndDomains

PS. The Exchange 2010 Forum is found

Martina Miskovic

To bring up and old thread.

Thanks for showing us this cmdlet

I used what you said and used Blocked instead of Trusted.. Worked for what i wanted

(Get-MailboxJunkEmailConfiguration -Identity "UserIdentity").BlockedSendersandDomains


Tuesday, October 30, 2018 4:06 PM

An easier way of doing it and it works in most of other cases is to set the enumeration limit to unlimited with the following cmdlet:

$FormatEnumerationLimit=-1

Then you can run Get-MailboxJunkEmailConfiguration -Identity [email protected] | FL

Hope this help.

Regards,

Andy G.