Сообщения

Сообщения за сентябрь, 2025

установка EMS на локальную машину

  dism /online /Enable-Feature /FeatureName:IIS-IIS6ManagementCompatibility /all

Remove/Add Multiple IPs to/from a Receive Connector’s Remote IP Range

Изображение
  https://learntechfuture.com/2021/01/16/remove-add-multiple-ips-to-from-a-receive-connectors-remote-ip-range/#:~:text=Remove%20Multiple%20IPs%20to%20a,Thank%20you%20for%20visiting%20! Remove Multiple IPs to a Receive Connector Remote IP Range Copy list of IPs to file named IP.txt on your desktop, There is no header needed for the file. Launch Exchange Powershell and run below code. 1 2 3 4 5 6 7 8 9 $ip = Get-Content $home\desktop\ip.txt foreach ($eachline in $ip) { write-host "Removed IP $eachline from Receive Connector" # replace receive connector with the valida receive connector name. $RecvConn = Get-ReceiveConnector "Exch1\Authorized Connector" $RecvConn.RemoteIPRanges -= $eachline Set-ReceiveConnector "Exch1\Authorized Connector" -RemoteIPRanges $RecvConn.RemoteIPRanges } Add Multiple IPs to a Receive Connector Remote IP Range Copy list of IPs to file named IP.txt on your desktop, There is no header needed for the file. Launch Exchange Powershell an...

Find IP addresses using Exchange SMTP relay

Изображение
 https://www.alitajran.com/find-ip-addresses-using-exchange-smtp-relay/ Find IP addresses using Exchange SMTP relay Updated on March 29, 2024   Exchange ,  Powershell   17 Comments You want to find on-premises IP addresses that use Exchange SMTP relay for sending mail. Why do you want to have that information? Most commonly, that’s when you want to decommission an Exchange Server, and you like to confirm that there is no mail flow running over the SMTP relay. If everything is set up, you can disable the SMTP relay receive connector. In this article, you will learn how to automate the search and find the IP addresses that use the SMTP relay. Table of contents Introduction Check SMTP relay logs Enable SMTP relay logs Find SMTP relay logs Prepare SMTP-Review PowerShell script Run SMTP-Review PowerShell script Conclusion Introduction Before we start, it’s good to know why we want to know which IP addresses use the Exchange SMTP relay. A couple of reasons are when you: Mo...