kbupdate icon indicating copy to clipboard operation
kbupdate copied to clipboard

Error in Get-Sftware

Open Rapidhands opened this issue 2 years ago • 2 comments

Rapidhands avatar Sep 23 '23 21:09 Rapidhands

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 avatar Sep 23 '23 21:09 Rapidhands

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

Rapidhands avatar Sep 23 '23 21:09 Rapidhands