Rename File/Function, Refactor Choco Install, Add Status Indicator

This commit is contained in:
Marterich
2024-08-23 14:16:49 +02:00
parent 5b3cd16ac0
commit 12a07a7d9c
6 changed files with 270 additions and 126 deletions

View File

@ -17,7 +17,7 @@ function Invoke-WPFTweakPS7{
Write-Host "Powershell 7 is already installed."
} else {
Write-Host "Installing Powershell 7..."
Invoke-WinUtilWingetProgram -Action Install -Programs @("Microsoft.PowerShell")
Install-WinUtilProgramWinget -Action Install -Programs @("Microsoft.PowerShell")
}
$targetTerminalName = "PowerShell"
}