Update Powershell Version __link__ -

.PARAMETER NoRestart Don't prompt to restart PowerShell after installation.

.PARAMETER Channel Update channel: "Stable" (default) or "LTS" (Long Term Support). update powershell version

[Parameter(Mandatory = $false)] [switch]$NoRestart, update powershell version

catch Write-ColorOutput "Failed to fetch version information: $_" "Red" return $null update powershell version

$choice = Read-Host "`nSelect option to toggle (1-6)"