We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89b605b commit d5f5a20Copy full SHA for d5f5a20
1 file changed
GitSetup.ps1
@@ -29,7 +29,7 @@ function CheckAdminMode
29
30
function CheckPowerShellVersion
31
{
32
- if($PSVersionTable.PSVersion.Major -ne 5) {
+ if($PSVersionTable.PSVersion.Major -lt 5) {
33
Write-Host "You are not running PowerShell version 5+, and cannot make a full installation (Post-git requires it)." -Foreground Red
34
Write-Host "To upgrade, you can install Chocolatey through the following command, followed by a restart:" -Foreground Cyan
35
Write-Host "Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" -Foreground Gray
0 commit comments