Refactor restoration of computer

This commit is contained in:
Manuel Thalmann 2023-06-21 22:07:25 +02:00
parent abb8a78f68
commit 4ad1401a52

View file

@ -3,4 +3,7 @@
$null = New-Module {
. "$PSScriptRoot/../../scripts/Windows/OS/Install.ps1";
[Context]$context = [Context]::new();
$context.EntryPoint = "$($MyInvocation.MyCommand.Path)";
Invoke-WindowsInstallation $context;
}