diff --git a/profiles/Generic/Windows/Install.ps1 b/profiles/Generic/Windows/Install.ps1 new file mode 100644 index 00000000..0a5cb955 --- /dev/null +++ b/profiles/Generic/Windows/Install.ps1 @@ -0,0 +1,16 @@ +#!/bin/pwsh +. "$PSScriptRoot/../../../scripts/Windows/Script/Prerequisites.ps1"; +. "$PSScriptRoot/../../../scripts/Windows/Script/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(); +$context.EntryPoint = "$($MyInvocation.MyCommand.Path)"; +$context.UserName = "Manuel"; +Invoke-WindowsInstallation $context; +Restart-Computer -Force; diff --git a/profiles/Generic/Windows/Setup.ps1 b/profiles/Generic/Windows/Setup.ps1 new file mode 100644 index 00000000..67247081 --- /dev/null +++ b/profiles/Generic/Windows/Setup.ps1 @@ -0,0 +1,3 @@ +#!/bin/pwsh +$env:WIN_COMPUTER_NAME = "win11"; +$env:SETUP_SCRIPT_NAME = [System.IO.Path]::GetRelativePath("$PSScriptRoot/../../..", "$PSScriptRoot/Install.ps1");