Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Get a List of All the Local Users Who Have an Expiring PasswordContent of Get a List of All the Local Users Who Have an Expiring Password.vbsMD5 Hash: B476B704EB99BBC0D5054F8FB7E0AF27 |
||
Const ADS_UF_DONT_EXPIRE_PASSWD = &H10000
strComputer = "atl-ws-01" Set colAccounts = GetObject("WinNT://" & strComputer & "") colAccounts.Filter = Array("user") For Each objUser In colAccounts If Not objUser.UserFlags AND ADS_UF_DONT_EXPIRE_PASSWD Then Wscript.Echo objUser.Name End If Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |