By David Wiseman (Administrator)Created 23 Feb 2008
My Rating:
Vote
Rating:
Not Rated
Views:5697
Downloads:35

Modify the General Properties of an OU

Language:  VBScript

Compatibility

Windows XP Yes Windows 2003 Yes
Windows 2000 Yes Windows NT Unknown
Vista Unknown Windows 2008 Unknown
Description

Modifies the attribute values found on the General Properties page in Active Directory Users and Computers for an OU named Students.

Code

Line Numbers: On  Off      Plain Text
Const ADS_PROPERTY_UPDATE = 2

Set objContainer = GetObject _
    ("LDAP://ou=Students,dc=wisesoft,dc=co,dc=uk")
 
objContainer.Put "street","Building 1" & vbCrLf & "Street XYZ"
objContainer.Put "l", "Sunderland"
objContainer.Put "st", "Tyne & Wear"
objContainer.Put "postalCode", "AA1 1AA"
objContainer.Put "c", "UK"
objContainer.PutEx ADS_PROPERTY_UPDATE, _
    "description", Array("Students")
objContainer.SetInfo

 


Got a useful script? Click here to upload!


 

  Post Comment
Order By:  
User Comments
      
funnyjokes
Posted On: 9/13/2018 8:46:26 AM

The article you have shared here very good. This is really interesting information for me. Thanks for sharing! ludo game


Posted On: 9/28/2018 7:08:32 AM

jinyi928 pandora charms moncler outlet ugg boots outlet longchamp basketballl shoes adidas shoes bottega veneta mbt shoes supreme clothing coach outlet lacoste polo coach outlet christmas presents off white jordan adidas nmd longchamp outlet canada goose outlet canada goose outlet louboutin shoes canadian goose clarks outlet michael kors outlet skechers shoes new balance shoes canada goose moncler outlet coach outlet true religion salomon shoes off white shoes clarks outlet james harden shoes ray ban sunglasses ralph lauren polo pandora champion sportswear tory burch outlet coach outlet kate spade outlet michael kors outlet mlb jerseys nike tn ralph lauren polo oakley sunglasses true religion jeans champion clothing christian louboutin outlet christian louboutin shoes adidas superstar clarks shoes ralph lauren polo red bottom shoes pandora jewelry ralph lauren uk red bottom shoes moncler outlet canada goose jackets coach outlet coach outlet online canada goose outlet coach outlet converse trainer ecco shoes nike outlet superdry uk coach outlet online ugg outlet clearance canada goose outlet kate spade handbags adidas yeezy coach outlet jordan uk canada goose jacket hermes belt hogan shoes jordans ray ban sunglasses supreme ray ban sunglasses ray ban sunglasses true religion jeans outlet north face coach handbags ugg boots off white clothing canada goose ralph lauren polo christian louboutin shoes ralph lauren uk canada goose clothing coach outlet ugg outlet boots coach factory outlet air max 90 christian louboutin outlet christian louboutin off white outlet ugg outlet jordan shoes pandora charms asics shoes nike shoes outlet christian louboutin outlet moncler jackets ed hardy uk fitflops clearance ugg boots christian louboutin outlet michael kors outlet canada goose outlet pandora outlet tod's outlet manolo blahnik canada goose outlet red bottom shoes nike shoes salomon shoes nike blazers coach outlet dsquared2 ralph lauren fitflops clearance north face true religion jeans canada goose jackets pandora jewelry true religion jeans outlet jordans louboutin shoes asics shoes coach outlet nhl jersey jordan clothing yeezy boots 350 nike shoes nike shoes coach outlet online nike outlet factory jordan 8 fitflops clearance ralph lauren polo jordan shoes canada goose outlet jordan 4 adidas yeezy giuseppe zanotti kate spade outlet true religion canada goose nike clothing louboutin shoes nike air max mbt shoes issey miyake ferragamo belt air max 90 ultra boost 3.0 birken stock moncler outlet ugg boots canada goose outlet moncler outlet moncler jackets hogan shoes coach factory outlet louboutin shoes stussy ugg boots clearance true religion jeans soccer shoes pandora outlet pandora charms ugg boots ecco shoes canada goose outlet kate spade outlet jordan shoes nba jerseys reebok outlet adidas clothing louboutin shoes michael kors outlet fitflops clearance adidas clothing vibram five fingers coach outlet ray ban sunglasses nike shoes fidget spinner ralph lauren polo christian louboutin pandora jewelry coach outlet online pandora charms clarks shoes christian louboutin coach outlet coach outlet factory coach outlet kate spade outlet moncler jacket ugg outlet canada goose outlet mbt shoes ugg outlet ferragamo shoes valentino shoes red bottom shoes christian louboutin shoes pandora outlet prada handbags ralph lauren polo moncler outlet coach factory outlet coach outlet christian louboutin shoes kate spade outlet michael kors outlet ralph lauren polo longchamp outlet ralph lauren uk hermes belt coach outlet adidas outlet hugo boss kate spade nike shoes canada goose outlet hugo boss louboutin shoes jordan shoes prada shoes ugg boots clearance christian louboutin outlet supreme clothing ugg outlet air max 90 dsquared2 christian louboutin outlet christian louboutin nike huarache coach factory outlet

davidjohn
Posted On: 12/6/2018 8:55:31 PM [Edited 12/6/2018 8:55:41 PM]

fsdfgsdfg google.com/

nancybansal
Posted On: 2/21/2019 6:41:40 AM

I all around agree with your posts each and every piece of it was to a shocking degree striking Call Girls in Jaipur In the event that it's not all, that much weight keeps posting more updates.

nancybansal
Posted On: 2/21/2019 6:42:33 AM

I am affected by the course by which you have cleared up things in this post Escorts in Jaipur This post is to a scattering degree stunning and I am envisioning gotten two or three information around an overall central piece of your posts.

aliyaarora
Posted On: 2/22/2019 10:31:18 AM

For a mind blowing degree to see your blog. It was an unprecedented degree Call Girls in Bangalore specially built and clear. A dedication of gratitude is all together for your unimaginable effort and I was tight for this post. I am happy to investigate such astonishing shocking post. Bangalore Call Girls Escorts in Delhi

aliyaarora
Posted On: 2/22/2019 10:33:42 AM

I love examining your articles, your articles gives a learning see Delhi Escorts with respect to the issue in any case disclosed to me why you all things considered frame on flawed centers, in any Delhi Escorts Service case a superior than normal article to investigate and share Escorts Service in Delhi


Posted On: 3/11/2019 1:31:18 PM

Thankyou for sharing such a nice article with us. I hope you will continue to have similar posts to share with everyone! I believe a lot of people will be surprised to read this article! Hyderabad Escorts


Posted On: 3/11/2019 1:32:05 PM

To a mind-blowing degree venerated looking at your blog. It was to an unprecedented degree particularly made and clear. A dedication of gratefulness is all together for your unimaginable effort and I was sitting tight for this post. I am satisfied to examine this kind of astonishing illuminating post. Ahmedabad Escorts

Kanak Shah
Posted On: 3/22/2019 11:36:50 AM

I feel it interesting, your post gave me a new perspective! I have read many other articles about the same topic, but your article convinced me! Goa Escorts Goa Escort Goa Escorts Service Escorts in Goa Independent Escorts in Goa Goa Call Girls Call Girls in Goa Goa Escorts Goa Escort Goa Escorts Service Escorts in Goa Independent Escorts in Goa Goa Call Girls Call Girls in Goa Goa Escorts Goa Escort Goa Escorts Service Escorts in Goa Independent Escorts in Goa Goa Call Girls Call Girls in Goa Panaji Escorts Call Girls in Panaji Chennai Escorts Chennai Escort Chennai Escorts Service Escorts in Chennai Independent Escorts in Chennai Chennai Call Girls Call Girls in Chennai Visakhapatnam Escorts Visakhapatnam Call Girls Coimbatore Escorts Coimbatore Call Girls Chennai Escorts Chennai Escort Chennai Escorts Service Escorts in Chennai Independent Escorts in Chennai Chennai Call Girls Call Girls in Chennai Kochi Escorts Kochi Escort Kochi Escorts Service Escorts in Kochi Independent Escorts in Kochi Kochi Call Girls Call Girls in Kochi Lucknow Escorts Lucknow Escort Lucknow Escorts Service Escorts in Lucknow Independent Escorts in Lucknow Lucknow Call Girls Call Girls in Lucknow Hyderabad Escorts Escorts in Hyderabad Hyderabad Escorts Service Independent Hyderabad Escorts Independent Escorts in Hyderabad Hyderabad Escort Hyderabad Call Girls Call Girls in Hyderabad Kolkata Escorts Escorts in Kolkata Kolkata Escorts Service Independent Kolkata Escorts Independent Escorts in Kolkata Kolkata Escort Kolkata Call Girls Call Girls in Kolkata Mumbai Escorts Escorts in Mumbai Mumbai Escorts Service Independent Mumbai Escorts Independent Escorts in Mumbai MumbaiEscort Mumbai Call Girls Call Girls in Mumbai Bangalore Escorts Escorts in Bangalore Bangalore Escorts Service Independent Bangalore Escorts Independent Escorts in Bangalore Bangalore Escort Bangalore Call Girls Call Girls in Bangalore Pune Escorts Escorts in Pune Pune Escorts Service Independent Pune Escorts Independent Escorts in Pune Pune Escort Pune Call Girls Call Girls in Pune Chennai Escorts Chennai Escort Chennai Escorts Service Escorts in Chennai Independent Escorts in Chennai Chennai Call Girls Call Girls in Chennai Chennai Escorts Chennai Escort Chennai Escorts Service Escorts in Chennai Independent Escorts in Chennai Chennai Call Girls Call Girls in Chennai Visakhapatnam Escorts Visakhapatnam Escort Visakhapatnam Escorts Service Escorts in Visakhapatnam Independent Escorts in Visakhapatnam Visakhapatnam Call Girls Call Girls in Visakhapatnam Visakhapatnam Escorts Visakhapatnam Escort Visakhapatnam Escorts Service Escorts in Visakhapatnam Independent Escorts in Visakhapatnam Visakhapatnam Call Girls Call Girls in Visakhapatnam

Raginikakkar
India
Posted On: 4/12/2019 9:28:23 AM


Komalrani
Posted On: 4/25/2019 7:48:30 AM

Thankful for the best blog.it was uncommonly profitable for me. keep sharing such contemplations later on too. this was truly what I was hunting down, and I am cheerful to come here! Escorts in Gurgaon Escorts Service in Gurgaon

Komalrani
Posted On: 4/25/2019 7:50:44 AM

Your blog is stacked up with unique respectable articles! I was awed by how well you express your contemplations and sharing your experiences. I never bemoaned any moment that went to your blog. Call Girls in Gurgaon Gurgaon Call Girls

Komalrani
Posted On: 4/25/2019 7:51:35 AM

I am incredibly upbeat to examine the post, it is in all respects carefully formed. You have done steady work recorded as a printed copy this post and I motivated your work. Escorts in Gurgaon

techsmithCoupon
Germany
Posted On: 6/5/2019 12:34:32 PM

info a devoted actions earache coupon codeactive target promo codes ,ohana coupon code reigning champ discount code ,singer sewing machine coupons of interest is normally normally downright to express. Thanks a lot for creation wonderful in.....

12345678910