Tag Archive: IP addresses from a text file (one per line) to the connector

Sep
14

Exchange server connector üzerine çoklu relay ip girişi Add multiple – IP addresses from a text file (one per line) to the connector

relay

Exchange server üzerindeki relay için kullanmakta olduğumuz receive connector’e text dosyası kullanarak çoklu ip adresi girişi yapmak için aşağıdaki PS komutlarını kullanabiliriz. ip.txt isimli dosyanın komutu çalıştıdığımız dizinde olması gerekmektedir. $rec = Get-ReceiveConnector “internalrelay” Get-Content .\ip.txt | foreach { $rec.RemoteIPRanges += “$_” } Set-ReceiveConnector “internalrelay” -RemoteIPRanges $rec.RemoteIPRanges ip.txt isimli text dosyasının içeriği her satırda bir …

Continue reading »