foreach($usuario in (wsl cut -f1 -d : /etc/passwd)) { New-LocalUser -NoPassword $usuario -WhatIf }
Ejercicios WSL: crear en Windows con PowerShell y WSL los mismos usuarios que tenemos en Linux (PowerShell, Bash)
Except where otherwise noted, Jesusninoc by Jesús N. is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.