The whole task was; To change Exchange mail aliases and add a secondary E-mail address with the new alias, then adjust the SAM/loginname accordingly. An input file lists current an new aliases.

I did all the tasks that was possible by ADSI (LDAP:/WinNT:).

Since I could not PutEx the new E-mail addresses (as Exchange requires), the script writes them to a CSV Import file, which the script subsequently commands Exchange to import.

Best regards.