Useful CMD commands

Notes to myself for quick reference.

Check User account Locked
    net user UserID /DOMAIN | FIND /I Account Active

Unlock User
    Net user UserID /DOMAIN /active:YES

Change Password
    net user UserID newpassword /DOMAIN /Active:Yes

Check User Details, AD group membership
    net user UserID /do

Check AD Group Details, Member if this Group
    net group GroupID /do

This post first appeared on Ben's System Center Experience. Read the original article.