locked
Getting the full list of a user's TrustedSendersandDomains RRS feed

  • Question

  • I was playing around with the command:

    get-MailboxJunkEmailConfiguration

    No matter how I massaged the output with format- commands, outputting to a variable, attempting to use export-csv, I either get a truncated list, or in the case of the export-csv commandlet, the CSV file has the object (apparently) not the data. Adding -ResultSize unlimited did nothing - the output was always truncated.

    How can I get the complete list of TrustedSendersandDomains out of this command?


    SnoBoy
    Wednesday, June 15, 2011 9:21 PM

Answers

  • $TSD = (Get-MailboxJunkEmailConfiguration -Identity Mailbox_Name).TrustedSendersAndDomains

    You should be able to then list the contents by typing:

    $TSD

    or maniuplate the variable as is your preference.

    If you want to skip the variable, just enter:

    (Get-MailboxJunkEmailConfiguration -Identity Mailbox_Name).TrustedSendersAndDomains

    I haven't tested this (I don't have an Exchange server with users that have set this) so you might have to futz with it some.

     


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    • Marked as answer by SnoBoy Wednesday, June 15, 2011 9:58 PM
    Wednesday, June 15, 2011 9:38 PM

All replies

  • $TSD = (Get-MailboxJunkEmailConfiguration -Identity Mailbox_Name).TrustedSendersAndDomains

    You should be able to then list the contents by typing:

    $TSD

    or maniuplate the variable as is your preference.

    If you want to skip the variable, just enter:

    (Get-MailboxJunkEmailConfiguration -Identity Mailbox_Name).TrustedSendersAndDomains

    I haven't tested this (I don't have an Exchange server with users that have set this) so you might have to futz with it some.

     


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    • Marked as answer by SnoBoy Wednesday, June 15, 2011 9:58 PM
    Wednesday, June 15, 2011 9:38 PM
  • Hi,

    Thank Ed for sharing the reply :)

    Thanks


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Thursday, June 30, 2011 7:52 AM