With the native NET command:
NET USER loginname /DOMAIN | FIND /I "Account active" The account is either locked ("Locked") or active ("Yes").
With the native NET command:
NET USER loginname /DOMAIN | FIND /I "Account active" The account is either locked ("Locked") or active ("Yes").

No comments