[THIN] Re: OT: Bulk Update users profile path

  • From: Jeff Malczewski <jmalczewski@xxxxxxxx>
  • To: "'thin@xxxxxxxxxxxxx'" <thin@xxxxxxxxxxxxx>
  • Date: Thu, 15 Jul 2004 16:32:47 -0400

Angus - 
    I would also be very interested in this tool as well, as long as it
isn't tsadmin.exe (already have that one), and it works on 2000...
 
Ian - 
    As far as a script, if you want to update profile paths, you can use
this (for regular profile paths, not TS profile paths)
 
Insert your information into the <> brackets and remove the <> brackets
 
 
MyOU = "OU=<target OU Name>"
Set oOU = GetObject("LDAP://"; & MyOU & "DC=<domain name>,DC=<TLD (.com,
..local, whatever)>")
For Each User in oOU
    UserName = User.Name
    Set oUsr = getObject("LDAP://"; & UserName & "," & MyOU & "DC=<domain
name>,DC=<TLD>")
    oUsr.ProfilePath = "<path to profile>"
    oUsr.SetInfo
Next
 
 
HTH,
Jeff

-----Original Message-----
From: Ian Manton [mailto:ian@xxxxxxxxxxxxxxxxxxxxx]
Sent: Thursday, July 15, 2004 4:11 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: OT: Bulk Update users profile path


Sounds great - yes please - 
 
Ian

  _____  

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Angus Macdonald
Sent: Wednesday, 14 July 2004 11:16 p.m.
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: OT: Bulk Update users profile path


I have a tool that will update any TS settings for the members of a given
group or for any list of users that can be fed in as a text file. You're
welcome to a copy if it would be useful.
 
Re

-----Original Message-----
From: Ian Manton [mailto:ian@xxxxxxxxxxxxxxxxxxxxx]
Sent: 14 July 2004 11:55
To: thin@xxxxxxxxxxxxx
Subject: [THIN] OT: Bulk Update users profile path


I know, it's probably somewhere in the list - script to bulk update users
profile path based on OU, can you point me to the right list? or maybe the
link to download such a tool?
 
cheers
 
Ian
 

Gallai'r e-bost yma gynnwys gwybodaeth gyfrinachol a/neu ddeunydd
hawlfraint. Os ydych chi'n meddwl eich bod wedi derbyn yr e-bost yma drwy
gamgymeriad rydym yn ymddiheuro am hyn; peidiwch os gwelwch yn dda â
datgelu, anfon ymlaen, printio, copïo na dosbarthu gwybodaeth yn yr e-bost
yma na gweithredu mewn unrhyw fodd drwy ddibynnu ar ei gynnwys: gwaherddir
gwneud hynny'n gyfan gwbl a gallai fod yn anghyfreithlon. Rhowch wybod i'r
anfonwr fod y neges yma wedi mynd ar goll cyn ei dileu.



Mae unrhyw safbwynt neu farn a gyflwynir yn eiddo i'r awdur ac nid ydynt o
anghenraid yn cynrychioli safbwynt neu farn Ymddiriedolaeth GIG Gogledd
Orllewin Cymru.

Gallai cynnwys yr e-bost yma gael ei ddatgelu i'r cyhoedd o dan Gôd Bod yn
Agored y GIG neu Ddeddf Rhyddid Gwybodaeth 2000. Nid oes modd gwarantu
cyfrinachedd y neges ac unrhyw ateb. 

Bydd y neges yma ac unrhyw ffeiliau cysylltiedig wedi cael eu gwirio gan
feddalwedd canfod firws cyn eu trosglwyddo. Ond rhaid i'r sawl sy'n derbyn
wirio rhag firws ei hun cyn agor unrhyw ymgysylltiad. Nid yw'r
Ymddiriedolaeth yn derbyn unrhyw gyfrifoldeb am unrhyw golled neu niwed a
allai gael ei achosi gan firws meddalwedd.


 

This e-mail may contain confidential information and/or copyright material.
If you believe that you have received this e-mail in error please accept our
apologies; please do not disclose, forward, print, copy or distribute
information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful. Please inform the
sender that this message has gone astray before deleting it.

Any views or opinions presented are to be understood as those of the author
and do not necessarily represent those of the North West Wales NHS Trust.

The contents of this e-mail may be subject to public disclosure under the
NHS Code of Openness or the Freedom of Information Act 2000. The
confidentiality of the message and any reply cannot be guaranteed.

This message and any attached files will have been checked with virus
detection software before transmission. However, recipients must carry out
their own virus checks before opening any attachment. The Trust accepts no
liability for any loss or damage, which may be caused by software viruses.


This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail.

Other related posts: