PortValhalla/winiso/winpefs/Scripts/Startup.ps1

4 lines
249 B
PowerShell
Raw Normal View History

2024-07-28 23:22:42 +00:00
$env:SETUP_DRIVE = (ConvertFrom-Csv ((wmic volume where "Label='$env:SETUP_LABEL'" get DriveLetter) | ForEach-Object { "$_".Trim(); })).DriveLetter;
2024-07-26 12:46:58 +00:00
Set-Location (Join-Path $env:SETUP_DRIVE $env:LOCAL_PROJECT_PATH)
2024-09-08 15:48:10 +00:00
& ./scripts/Windows/OS/Setup.ps1;