$Currentdomains=(Get-TransportRule test |select -ExpandProperty ExceptIfRecipientDomainIs).value
$Newdomains=Get-Content c:\add.txt
$Mergelist=$Currentdomains+$Newdomains
Set-TransportRule test -ExceptIfRecipientDomainIs $Mergelist
Exchange transport rules to increase bulk domain exception list
Guess you like
Origin blog.51cto.com/yuntcloud/2478161
Recommended
Ranking