6 lines
298 B
PowerShell
6 lines
298 B
PowerShell
$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/verify-lab.sh"
|
|
if ($LASTEXITCODE -ne 0) { throw 'Lab verification failed.' }
|
|
|