Re: adding a custom url to many users
- From: Jerold Schulman <Jerry@xxxxxxxxxx>
- Date: Thu, 09 Feb 2006 07:27:47 -0500
On Thu, 9 Feb 2006 03:52:28 -0800, "Odd-Arne" <OddArne@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Used this:
Const ADS_PROPERTY_APPEND = 3
Set objUser = GetObject _
("LDAP://cn=myerken,ou=management,dc=fabrikam,dc=com")
objUser.PutEx ADS_PROPERTY_APPEND, _
"url", Array("http://www.fabrikam.com/policy")
objUser.SetInfo
This script adds to a single user, what im looking for is a script that adds
this value to all users within a spesific OU
Modify the script at 10015 » How can I use VBScript to return all the users in an OU (Organizational Unit)?
in the 'Tips & Tricks' at http://www.jsifaq.com
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
.
- Prev by Date: Re: need to modify local group membership via VBscript
- Next by Date: Re: need to modify local group membership via VBscript
- Previous by thread: [MSH] Process AliasProperty VS
- Next by thread: Listing mapped drives on remote computers
- Index(es):
Relevant Pages
|