Update Powershell Version | Quick ✯ |
[Parameter(Mandatory = $false)] [switch]$Preview,
function List-InstalledVersions $os = if ($env:OS -eq "Windows_NT") "Windows" elseif ($IsMacOS) "macOS" elseif ($IsLinux) "Linux" update powershell version
$process = Start-Process -FilePath "msiexec.exe" -ArgumentList $msiArguments -Wait -PassThru -NoNewWindow [Parameter(Mandatory = $false)] [switch]$Preview