Anthony K O365
asked on
Find msExchUserAccountControl Value = 2
I need a query or PS cmdlet to find all enabled accounts whose msExchUserAccountControl Value = 2
Yes, the value should be 0 for enabled accounts, but this value sometimes will NOT get set to zero once enabled. I need to find those accounts and then set them to zero if needed.
thanks
Yes, the value should be 0 for enabled accounts, but this value sometimes will NOT get set to zero once enabled. I need to find those accounts and then set them to zero if needed.
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you