Group:  English: Windows Server ยป microsoft.public.windows.server.scripting
Thread: Changing owner of Dist List

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Changing owner of Dist List
hbkrules69 10.07.2007 17:22:02
I have a number of DL's that I need to update the managed by field. All the
DL's are located in the same OU. The script I am using is the following

Set objGroup = GetObject _
("LDAP://cn=Scientists,ou=R&D,dc=NA,dc=fabrikam,dc=com")

objGroup.Put "managedBy", "cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com"
objGroup.SetInfo


First the script is generating a "dn syntax" error on the objGrop.Setfo line
In addition is it possible to update all DL's that begin with DL-US-xxx all
at once? I have about 50 DL's that begin with DL-US-xxx and to manually do
them one at a time will be very time consuming. Appreciate your response.

Thanks

RE: Changing owner of Dist List
hbkrules69 12.07.2007 20:02:10
bump

"hbkrules69" wrote:

[Quoted Text]
> I have a number of DL's that I need to update the managed by field. All the
> DL's are located in the same OU. The script I am using is the following
>
> Set objGroup = GetObject _
> ("LDAP://cn=Scientists,ou=R&D,dc=NA,dc=fabrikam,dc=com")
>
> objGroup.Put "managedBy", "cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com"
> objGroup.SetInfo
>
>
> First the script is generating a "dn syntax" error on the objGrop.Setfo line
> In addition is it possible to update all DL's that begin with DL-US-xxx all
> at once? I have about 50 DL's that begin with DL-US-xxx and to manually do
> them one at a time will be very time consuming. Appreciate your response.
>
> Thanks
>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net