scripting in the active directory
From: Fernando (fernando_at_microsoft.com)
Date: 03/01/05
- Next message: peter: "Automatic Dialup"
- Previous message: Csaba2000: "Re: Scripting and Windows AntiSpyware (Beta)"
- Next in thread: Torgeir Bakken \(MVP\): "Re: scripting in the active directory"
- Reply: Torgeir Bakken \(MVP\): "Re: scripting in the active directory"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Mar 2005 11:29:57 -0000
Hello there,
Does someone knows any script to add a new email account to all the users in
the active directory?
Scenario
---------
Around 500 users in the active directory with an smtp email address created
in the following way: name.sirname@potepille.co.uk. In June our domain
changes so I need to start changing all the users emails addresses.
What is needed
----------------
I need to add another smtp email address which keeps the name and sirname,
but modifies the domain: name.sirname@pote.co.uk
I just want to add a new email address without deleting or modifying the one
which already exist, but I will like this new address to become the defualt
email address.
Bonus if achieved
------------------
A script which deletes the old email address from every user, but leaves the
new email address.
I am really new in scripting, but I am slowly getting there. If someone
could help me out or refer me somewhere will be very much appreciated.
Kind regards,
Fernando.
- Next message: peter: "Automatic Dialup"
- Previous message: Csaba2000: "Re: Scripting and Windows AntiSpyware (Beta)"
- Next in thread: Torgeir Bakken \(MVP\): "Re: scripting in the active directory"
- Reply: Torgeir Bakken \(MVP\): "Re: scripting in the active directory"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|