Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Get-Sftware #227

Open
Rapidhands opened this issue Sep 23, 2023 · 2 comments
Open

Error in Get-Sftware #227

Rapidhands opened this issue Sep 23, 2023 · 2 comments

Comments

@Rapidhands
Copy link

No description provided.

@Rapidhands
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant