VbsEdit, the award-winning VBScript editor that dramatically reduces the time you spend writing .VBS scripts

Sample scripts


Active Directory
   OUs
       Clear the General Properties of an OU , LDAP

' Clear the General Properties of an OU


Const ADS_PROPERTY_CLEAR = 1 

Set objContainer = GetObject _
  ("LDAP://ou=Sales,dc=NA,dc=fabrikam,dc=com")
 
objContainer.PutEx ADS_PROPERTY_CLEAR"description"0
objContainer.PutEx ADS_PROPERTY_CLEAR"street"0
objContainer.PutEx ADS_PROPERTY_CLEAR"l"0
objContainer.PutEx ADS_PROPERTY_CLEAR"st"0
objContainer.PutEx ADS_PROPERTY_CLEAR"postalCode"0
objContainer.PutEx ADS_PROPERTY_CLEAR"c"0
objContainer.SetInfo



VbsEdit includes all these samples!



Download version 3.4.1
Released Tuesday, January 06, 2009  -   The evaluation version never expires


Home   Buy Now   HtaEdit   Support   Video   What's new ?   Awards

Copyright (C) 2001-2009 Adersoft