potatoqualitee/kbupdate

Error in Get-Sftware

Rapidhands opened this issue · 2 comments

Error in Get-Sftware

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

it seems that this line is used in many other Private .ps1 file.