What is the attribute in Active Directory for user enabled or disabled?

SAM2009
SAM2009 used Ask the Experts™
on
Hi,

What is the attribute in Active Directory for user enabled or disabled?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Jose Gabriel Ortega CastroTop Rated Freelancer on MS Technologies
Awarded 2018
Distinguished Expert 2018

Commented:
Enabled.... (bool)

import-activedirectory userprofile
Get-Aduser -filter * -property Enabled | select SamAccountName,Enabled

Open in new window

Sr. Systems Administrator
Commented:
userAccountControl


UserAccountControl Attribute/Flag Values
https://jackstromberg.com/2013/01/useraccountcontrol-attributeflag-values/

Author

Commented:
Thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial