Set the user name by default

This commit is contained in:
Manuel Thalmann 2024-03-23 15:29:37 +01:00
parent 6fcb7fb4a8
commit f1310bafdf
3 changed files with 1 additions and 2 deletions
scripts/Windows/OS

View file

@ -9,6 +9,7 @@ function Invoke-WindowsInstallation([Context] $context)
{
$ErrorActionPreference = "Inquire";
. "$PSScriptRoot/../Scripts/Prerequisites.ps1";
$context.UserName ??= "Manuel";
Start-WindowsInstallation $context;
}