Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Force All the Users in an OU to Change Their Password the Next Time They Log OnContent of Force All the Users in an OU to Change Their Password the Next Time They Log On.vbsMD5 Hash: A2E98683FBE3FD1F52F8401B65A7C00B |
||
Set objOU = GetObject("LDAP://ou=Accounting,dc=fabrikam,dc=com")
objOU.Filter = Array("user") For Each objUser in objOU objUser.pwdLastSet = 0 objUser.SetInfo Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |