The userManagement.ps1 script has functionality to setup and manage user accounts on Windows
userManagement.ps1