List Users and Their SIDs

An incredibly useful one-liner: wmic useraccount get disabled,domain,name,sid Run that from an administrative command prompt while logged in as a domain admin to list all the users and their SIDs. …