wsl-backup/RestoreBackup.ps1

5 lines
191 B
PowerShell
Raw Normal View History

2022-09-04 12:44:25 +02:00
[string]$image_path="C:\Users\roger\wsl-backup\2022-08-28.tar"
[string]$distro_name="test"
wsl --import $distro_name "C:\Users\$env:UserName\AppData\Local\Packages\" $image_path --version 2