We will Export the IP Relay List on SMTP Virtual server into a txt file. The Process is getting this work done is very simple.
- Download and save it to your C drive
- Open CMD windows and navigate the same directory.
- From Command line run the following command
Now use the following command below (Change the Exchangeserver=Your Exchange server name & DomainControllerName=Your DC name )
cscript ipsec.vbs -s ExchangeserverName -o e -r relay -d DomainControllerName >>IPRelayList.txt