PortValhalla/profiles/Generic/Windows/Install.ps1

15 lines
424 B
PowerShell
Raw Normal View History

#!/bin/pwsh
2023-09-27 10:54:44 +00:00
. "$PSScriptRoot/../../../scripts/Windows/Scripts/Context.ps1";
. "$PSScriptRoot/../../../scripts/Windows/OS/Install.ps1";
. "$PSScriptRoot/../../../scripts/Windows/Collections/Generic.ps1"
function Restore-Apps {
param([Context] $context)
Restore-GenericApps $context;
}
[Context]$context = [Context]::new();
$context.UserName = "Manuel";
Invoke-WindowsInstallation $context;
Restart-Computer -Force;