Error in Get-Sftware
Rapidhands opened this issue · 2 comments
Rapidhands commented
Error in Get-Sftware
Rapidhands commented
Line 10
if ($psversiontable.PsVersion.Major -lt 5 -or ($psversiontable.PsVersion.Major -eq 5 -and $psversiontable.PsVersion.Major -lt 1)) {....}
I'm thinking that it's :
if ($psversiontable.PsVersion.Major -lt 5 -or ($psversiontable.PsVersion.Major -eq 5 -and $psversiontable.PsVersion.MINOR -lt 1))
regards
Rapidhands commented
it seems that this line is used in many other Private .ps1 file.