Refactor restoration of computer
This commit is contained in:
parent
52834fcd92
commit
f9d87ae9e4
1 changed files with 3 additions and 0 deletions
|
@ -3,4 +3,7 @@
|
||||||
|
|
||||||
$null = New-Module {
|
$null = New-Module {
|
||||||
. "$PSScriptRoot/../../scripts/Windows/OS/Install.ps1";
|
. "$PSScriptRoot/../../scripts/Windows/OS/Install.ps1";
|
||||||
|
[Context]$context = [Context]::new();
|
||||||
|
$context.EntryPoint = "$($MyInvocation.MyCommand.Path)";
|
||||||
|
Invoke-WindowsInstallation $context;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue