Once you get the User object (via get-aduser), you can check the 'enabled' property...
(I did a "get-aduser <username> -properties enabled", then could check the 'enabled' property... if false, then the account is disabled.)

0

RoccatAuthor Commented: 2016-08-16

Thank you. What is the syntax to check if the enabled property is true?