Skip to content

Instantly share code, notes, and snippets.

Avatar

Nandor Dudas nandordudas

View GitHub Profile
View settings.json
{
"profileSwitcher.profiles": ["General", "JavaScript"],
"profileSwitcher.storage": {
"General": {
"breadcrumbs.enabled": false,
"editor.cursorBlinking": "phase",
"editor.cursorSmoothCaretAnimation": true,
"editor.cursorStyle": "underline-thin",
"editor.fontFamily": "'Cascadia Code', Consolas",
"editor.fontLigatures": true,
View add_new_user.ps1
# Needs to run PowerShell as Administrator.
$Password = Read-Host -AsSecureString
$FullName = "Nandor Dudas"
$Username = "NandorDudas"
$Description = "nandor.dudas@gmail.com"
New-LocalUser $Username -Password $Password -FullName $FullName -Description $Description
# Administrators is only recommended.
Add-LocalGroupMember -Group "Administrators" -Member $Username
You can’t perform that action at this time.