PortValhalla/profiles/Generic/Windows/Install.ps1

14 lines
394 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();
Invoke-WindowsInstallation $context;
Restart-Computer -Force;