Clears all Dial-In attribute values for the MyerKen Active Directory user account.
Const ADS_PROPERTY_CLEAR = 1Set objUser = GetObject _("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com")objUser.PutEx ADS_PROPERTY_CLEAR, "msNPAllowDialin", 0objUser.PutEx ADS_PROPERTY_CLEAR, "msNPCallingStationID", 0objUser.PutEx ADS_PROPERTY_CLEAR, "msNPSavedCallingStationID", 0objUser.PutEx ADS_PROPERTY_CLEAR, "msRADIUSServiceType", 0objUser.PutEx ADS_PROPERTY_CLEAR, "msRADIUSCallbackNumber", 0objUser.PutEx ADS_PROPERTY_CLEAR, "msRASSavedCallbackNumber", 0objUser.PutEx ADS_PROPERTY_CLEAR, "msRADIUSFramedIPAddress", 0objUser.PutEx ADS_PROPERTY_CLEAR, "msRASSavedFramedIPAddress", 0objUser.PutEx ADS_PROPERTY_CLEAR, "msRADIUSFramedRoute", 0objUser.PutEx ADS_PROPERTY_CLEAR, "msRASSavedFramedRoute", 0objUser.SetInfo
This is a VB Script, this can be used by saving the file in .vbs file