Neuer shit

This commit is contained in:
2024-10-22 07:51:15 +02:00
parent 59389bebc3
commit 424950f5ff
3 changed files with 43 additions and 212 deletions

View File

@@ -315,7 +315,12 @@ function InstallSoftwareOpt {
}
}
}
$decision = $Host.UI.PromptForChoice('Wireguard', 'Soll das ausführen von Scripten in WireGuard aktiviert werden?' , $choices, 1)}
if ($decision -eq 0) {
Write-Host "Aktiviere Scripte..."
reg add HKLM\Software\WireGuard /v DangerousScriptExecution /t REG_DWORD /d 1 /f
}
$decision = $Host.UI.PromptForChoice('WSL', 'Soll WSL mit Debian 11 installiert werden?' , $choices, 1)
if ($decision -eq 0) {
Write-Host "Installiere WSL"