Re: Outlook server setting

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: DavidP (anonymous_at_discussions.microsoft.com)
Date: 05/21/04


Date: Fri, 21 May 2004 15:35:57 -0700

Using WSH get the logged on user's name, bind to the
object in AD using LDAP or WinNt provider

Here's an example if the object you're connecting to is
called objUser
All one line''''''''
ExchangeServer = mid(ucase(objUser.Get
("msExchHomeServerName")),instr(1,ucase(oUser.Get
("msExchHomeServerName")),"SERVERS/CN=",vbTextCompare)+ len
("SERVERS/CN="))

''''''''''''''''''''''''''''''''
now you have the user's exchange server name
as far as checking the entry - I don't know what entry -
INI file, registry entry?

Read WSH documentation to find out how to do that.
Hope this helps!

>-----Original Message-----
>Are you taking the old server offline? If so, you could
always just put an
>entry in your WINS and/or DNS server to resolve the old
name to the new
>server.
>
>Ray at work
>
>"tab" <nospam_tb@austin.rr.com> wrote in message
>news:4_src.12129$Hh.10232@fe1.texas.rr.com...
>> We will be migrating from exchange 5.5 to 2003 in about
10 days. We're
>> toying with different solutions to update all (600)
clients' outlook
>server
>> setting via domain logon script which will then launch
a .bat file.
>>
>> The only change that needs to be made on the clients
config is the
>exchange
>> server name in outlook when they login to the domain.
If the script could
>> actually check entry first and only make the change if
the old server name
>> present.
>>
>> Thanks for any advice. I dabble in different scripting
but am far from
>> savvy enough to handle this one.
>>
>> tab
>>
>>
>
>
>.
>



Relevant Pages

  • Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite? [semi-solved]
    ... Then I make an entry in my /etc/hosts.allow file that denies access to all in my hosts.deny file. ... Firstly, I took some measures to figure out where the issues came from, and using Apache's "server-status" handler, I noticed the script that caused Apache to choke up, was a PHP script that shows entries of photographic events that I organise from time to time. ... I then wondered why, as this script never caused trouble before, and while checking the server status I did already notice that the "store comments" script was called very often. ... the machines that were used for this, and I will report them to the proper anti spam authorities, such that they will be blacklisted Internet wide. ...
    (freebsd-questions)
  • Re: Logrotate appends extra numbers to logfiles
    ... the other big problem we're having is that the server keeps going ... logrotate script), runs. ... commented out the /wtmp entry and instead put in his own entry: ... "create 0755 root utmp" - basically, ...
    (comp.os.linux.setup)
  • Re: Outlook server setting
    ... Are you taking the old server offline? ... > setting via domain logon script which will then launch a .bat file. ... > actually check entry first and only make the change if the old server name ...
    (microsoft.public.scripting.vbscript)
  • Migration from WSH 5.6 Script on Windows NT 4.0 to Windows Server
    ... We are planning migration from WSH 5.6 Script on Windows NT 4.0 to Windows ... Server 2003 WSH 5.6. ...
    (microsoft.public.scripting.wsh)
  • Simple Recipient Verification - once and for all
    ... A textfile list of valid recipient addresses for both domains is ... The server must reject any RCPT TO address that is not in the ... available list of valid recipient addresses, and relay any addresses ... Apparently the following entry should work: ...
    (comp.mail.sendmail)