Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 528
  • Last Modified:

Script to change exchange settings in outlook

Ok guys basically what i had happen was an old mail server go out on me last night and i luckily had the other up with the mailboxes moved over BUT now since the old server is offline it wont resolve everyone to the right server. Does anyone know how to write a script to change a users outlook settings to switch exchange servers? Please help ! lol
Thanks in Advance !!
0
jjeffords
Asked:
jjeffords
  • 3
  • 2
1 Solution
 
plimpiasCommented:
Yes indeed..i had the same problem. I searched and searched but never found a solution. But then i came up with something. if the server is not online anymore. just simply add a CNAME record in your dns server to point to the new server. so when people query the old server name it directs them to the new server. It worked perfect for me and i didn't have to reconfigure everyones outlook.
0
 
jjeffordsAuthor Commented:
so if my old server was exg2000.onslow.org
and the new one is exg2003.onslow.org

how would you make the cname?
 exg2000 and the target as exg2003??
0
 
plimpiasCommented:
Yes ..when you add a CNAME put in exg2000 for the alias name..then you'll need to browse to your exg2003 record..or your can type in exg2003.onslow.org.

So all clients with exg2000 in their outlook will be redirected to exg2003.onslow.org
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
jjeffordsAuthor Commented:
Now will this more less be a band aid to patch it up or once they resolve over will it chanhe their setting in outlook?
0
 
SembeeCommented:
Outlook is a pretty clever application. Once it has worked out where the mailbox is it will change its setting. This is what happens if you move a mailbox between two servers.
However are you intending to bring up another server with the old name in the future? If not then I would just leave the DNS entry in place - it will not do any harm. As you visit the client machines you can adjust them during routine maintainance to point at the new server's "real" name.

Simon.
0
 
plimpiasCommented:
Yes it will change it..
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now