potatoqualitee / kbupdate

🛡 KB Viewer, Saver, Installer and Uninstaller
MIT License
326 stars 48 forks source link

Error in Get-Sftware #227

Open Rapidhands opened 10 months ago

Rapidhands commented 10 months ago

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 10 months ago

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