Refactor restoration of computer

This commit is contained in:
Manuel Thalmann 2023-06-21 22:07:25 +02:00
parent 52834fcd92
commit f9d87ae9e4

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;
}