Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify the Expiration Date for a User AccountContent of Modify the Expiration Date for a User Account.vbsMD5 Hash: 4289645B151C4BE7A22DC23BCB822AC9 |
||
' Description: Configures the MyerKen Active Directory user account to expire on March 30, 2005.
Set objUser = GetObject _ ("LDAP://cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com") objUser.AccountExpirationDate = "03/30/2005" objUser.SetInfo | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |