Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 610 Bytes

wsl.md

File metadata and controls

25 lines (18 loc) · 610 Bytes

WSL - Powershell

Powershell (Windows terminal)

[guid]::NewGuid()   # Get a system Id
code (Get-PSReadlineOption).HistorySavePath   # ver historial de comandos
Get-service vmcompute | Restart-Service       # Reiniciar todas las VMs

WSL

wsl -l -v [-o|-q]   # Listar VMs, estado y version
wsl --status
wsl --terminate <nameVM>
wsl --shutdown      # Apaga los procesos de wsl y las VMs
wsl --update [--web-download]   # Actualizar kernels
wsl -d <nameVM>     # Borrar VM

Referencias