ChaGPT added lab simulations
This commit is contained in:
5
lab-environment/reset-lab.ps1
Normal file
5
lab-environment/reset-lab.ps1
Normal file
@@ -0,0 +1,5 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$linuxDirectory = (& wsl.exe --distribution Ubuntu-24.04 --user root --exec wslpath -a $PSScriptRoot).Trim()
|
||||
& wsl.exe --distribution Ubuntu-24.04 --user root --exec bash "$linuxDirectory/reset-lab.sh"
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Lab reset failed.' }
|
||||
|
||||
Reference in New Issue
Block a user