CmdID / PowerShell / Cmdlets / Set
Set-AddressRewriteEntry
Use the Set-AddressRewriteEntry cmdlet to modify an existing address rewrite entry that rewrites sender and recipient email addresses in messages sent to or sent from your organization through an Edge Transport server. Exchange PowerShell reference
From the Exchange PowerShell reference 9 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the address rewrite entry you want to modify.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-ExceptionListThe ExceptionList parameter specifies the domain names that should be excluded from address rewriting when the InternalAddress parameter contains a value that specifies multiple domain names.-ExternalAddressThe ExternalAddress parameter specifies the final email addresses that you want.-InternalAddressThe InternalAddress parameter specifies the original email addresses that you want to change.-NameThe Name parameter specifies a unique name for this address rewrite entry.-OutboundOnlyThe OutboundOnly parameter enables or disables outbound-only address rewriting.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.