Acción | Comando |
---|---|
Archivos crear | fsutil file createNew dato1 1000 |
Archivos hacer.bat | powershell start-process powershell -arg {cd tauri-react-app;npm run tauri dev} -WindowStyle Hidden |
cheat | cheat |
cheat | dos & linux |
Consola linux | wsl --install wsl --list --online wsl —install -d |
Descargar web | $client = new-object System.Net.WebClient $client.DownloadFile("https://web","c:\archivo.txt") |
Directorios crear | md datos1 datos2 |
Firewall, reglas | netsh advfirewall firewall add rule name ="ports-tcp" dir=in action=allow protocol=tcp localport=69 |
net | net user, | Procesos | tasklist |
Desinstalar servicio | powershell.exe -executionpolicy unrestricted -file .\uninstall-service-win... |
oh-my-posh | winget install JanDeDobbeleer.OhMyPosh -s winget oh-my-posh init pwsh | Invoke-Expression |
Recortes | win+shift+s |
Reinicio |
wininit.exe restart-computer -force |
Sysinternals | winget install sysinternals |
Restaura el sistema | systemreset -cleanpc |
Sistema | msinfo32 |