Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify the Expiration Date for a Local User AccountContent of Modify the Expiration Date for a Local User Account.vbsMD5 Hash: 4C3BCA1A21EF2A640C898257FD72C277 |
||
' Description: Binds to a local user account (kenmyer) on a computer named atl-win2k-01, and configures the account to expire on March 1, 2005.
strComputer = "atl-win2k-01" Set objUser = GetObject("WinNT://" & strComputer & "/kenmyer") objUser.AccountExpirationDate = #03/01/2005# objUser.SetInfo | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |