Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify Address Page Information for a User AccountContent of Modify Address Page Information for a User Account.vbsMD5 Hash: A2DADB7EFEAD201EAFC669B0AD7BEA45 |
||
' Description: Configures address-related information for the MyerKen Active Directory user account.
Const ADS_PROPERTY_UPDATE = 2 Set objUser = GetObject _ ("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com") objUser.Put "streetAddress", "Building 43" & vbCrLf & "One Microsoft Way" objUser.Put "l", "Redmond" objUser.Put "st", "Washington" objUser.Put "postalCode", "98053" objUser.Put "c", "US" objUser.PutEx ADS_PROPERTY_UPDATE, _ "postOfficeBox", Array("2222", "2223", "2224") objUser.SetInfo | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |