EastThames
asked on
PowerShell Checking for disabled accounts.
Hi all,
if there is anybody here that can help me I would be greatly appreciative, i have wrote a very basic script to look for disabled accounts etc, and account lock outs.
adding the 512 (normal account) to the 16 for lockout. Example below:
$search.Filter = “(&(objectClass=user)(user AccountCon trol=528)) ”
but this is not working :( if I do 512 instead of the 528 i get a list of accounts, can anyone see what I am doing wrong?
Regards
Daniel
if there is anybody here that can help me I would be greatly appreciative, i have wrote a very basic script to look for disabled accounts etc, and account lock outs.
adding the 512 (normal account) to the 16 for lockout. Example below:
$search.Filter = “(&(objectClass=user)(user
but this is not working :( if I do 512 instead of the 528 i get a list of accounts, can anyone see what I am doing wrong?
Regards
Daniel
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.