5 lines
234 B
PowerShell
5 lines
234 B
PowerShell
[string]$distro_name="Ubuntu-22.04"
|
|
[string]$image_path="C:\Users\roger\SynologyDrive\Archiv\Backups\WSL\Ubuntu-22.04_2022-09-26.tar"
|
|
|
|
wsl --import $distro_name "C:\Users\$env:UserName\AppData\Local\Packages\" $image_path --version 2
|