Remove redundant script

This commit is contained in:
Manuel Thalmann 2024-03-20 23:57:24 +01:00
parent 6903a47883
commit 953a1127ac
2 changed files with 0 additions and 16 deletions

View file

@ -1,15 +0,0 @@
#!/bin/pwsh
param($context)
. "$PSScriptRoot/../../Scripts/Context.ps1";
Write-Host "Configuring PowerShell";
Write-Information "Allow addition of any number of profile files";
[Context] $context = $context;
$context.AddPowerShellProfileStatement(
@(
'# Profile Files',
'$profilePath = "$PSScriptRoot/profile.d/*.ps1";',
'if (Test-Path $profilePath) {',
' Get-Item $profilePath | ForEach-Object { . $_; };',
'}') -join ([System.Environment]::NewLine));

View file

@ -23,7 +23,6 @@ function Invoke-WindowsInstallation([Context] $context)
. "$configPath/Explorer/Install.ps1" $context;
. "$configPath/OpenSSH/Install.ps1" $context;
. "$configPath/chocolatey/Install.ps1";
. "$configPath/PowerShell/Install.ps1" $context;
$context.RemoveDesktopIcon("*Microsoft Edge*");
$context.Set("InitialConfiguration", 1, "DWord");