![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Force All the Users in an OU to Change Their Password the Next Time They Log On
|
||
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 :: |