Search notes:

WMIC.exe userAccount

Get a user's SID:
wmic useraccount where name='melanie' get sid
Change a user's password so that it does not expire:
wmic useraccount where name='Frederizc' set passwordExpires=false

Properties

AccountType
Caption
Description
Disabled
Domain
FullName
InstallDate
LocalAccount
Lockout
Name
PasswordChangeable
PasswordExpires
PasswordRequired
SID
SIDType
Status

See also

WMIC.exe

Index