Start Free Trial
how to programatically locate exchange server
Is there a way to programatically locate the ip address or host name of the computer(s) running Exchange Server on the local network.
Thanks for your help.
8/22/2022 - Mon
Check the DNS for the MX records. Or through ESM, expand the servers node. If you tell me what is your goal i might better help you.
Thanks for the reply.
I want to send messages (via SMTP) to the Exchange server without having to ask the administrator for the IP address (also if the location changes to be able to figure out where the Exchange server is running). This all needs to be done programatically without relying on any user or the administrator.
With the DNS approach I need to know the domain name and it may be changed on me later.
By ESM do you mean Exchange System Manager - if so, is there a way to interface with it (API) and can it be done remotely (from any PC on the network)?
I do have access to the Active Directory but can't figure out where the information is kept on the Exchange Server's network name and/or location.
ASKER CERTIFIED SOLUTION
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Thanks, found it.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
Plans and Pricing
Certified Expert Program
© 1996-2023 Experts Exchange, LLC. All rights reserved. Covered by US Patent