PortValhalla/scripts/Windows/OS/Install.ps1

11 lines
348 B
PowerShell

. "$PSScriptRoot/Manage.ps1";
. "$PSScriptRoot/Upgrade.ps1";
. "$PSScriptRoot/../Scripts/Context.ps1";
function Invoke-WindowsInstallation([Context] $context)
{
Write-Host "Starting Installation and Restoration of Windows";
. "$PSScriptRoot/../Scripts/Prerequisites.ps1";
Invoke-Upgrade $context;
Invoke-WindowsRestore $context;
}