Update Powershell Version ((new)) -
[Parameter(Mandatory = $false)] [switch]$NoRestart,
"3" & ".\Update-PowerShell.ps1" -Channel LTS -Cleanup update powershell version
Write-ColorOutput "Installing PowerShell on macOS..." "Cyan" [Parameter(Mandatory = $false)] [switch]$NoRestart
By default, Windows 10 and Windows 11 come with PowerShell 5.1. To check your current PowerShell version: update powershell version
.PARAMETER Channel Update channel: "Stable" (default) or "LTS" (Long Term Support).
.PARAMETER NoRestart Don't prompt to restart PowerShell after installation.
"9" Configure-AutoUpdates