Hi
Basically I want to test out the Sender ID filter functionality of Exchange 2013, but I only want to test this for a couple of our mailboxes initially. I know of know way to set this on a per mailbox basis so I think the only way is to add all the internal recipient addresses using the 'Set-SenderIDConfig -BypassedRecipient' @{Add="",""...} command. Obviously I don't want to add all the email addresses manually as this would take hours so I am looking for some help with a PowerShell command to run.
This is what I have thought of so far. Please feel free to rip it to pieces and tell me how terrible it is and that it won't work etc lol. I am just looking for the best way to do what I need to do!
Get-Recipient | Select EmailAddresses -ExpandProperty EmailAddresses | Select SmtpAddress | foreach $SmtpAddress | Set-SenderIdConfig -BypassedRecipients @{Add=$SmtpAddress}
Will this work, does it need some tweaking or do I need to do something else entirely?
As always, any help or advice will be greatly appreciated!
Kind regards