Windows: Add user to group via Command Line

I recently had to fix a Windows machine that had a broken user profile and needed to add the new user to the admin group.

A few Google searches later and this is the command to run in the command line prompt:

net localgroup group user /add

You can find this and more syntaxes at the helpful