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

Fails if SQL 2017 is installed instead of 2016 #6

Open
brimfulofashar opened this issue Feb 27, 2019 · 1 comment
Open

Fails if SQL 2017 is installed instead of 2016 #6

brimfulofashar opened this issue Feb 27, 2019 · 1 comment

Comments

@brimfulofashar
Copy link

theres a hard check for sql2016.

if($sqlVersion -ne 13){
throw "Invalid SQL Server Version"
}

@7bft
Copy link

7bft commented Mar 22, 2019

second that, using sql2017 for 9.0.2 shouldn't be an issue.

you could simply extend the ignore switch to the sql2017 check as well.
#Check for 2016 or ignore if flag is specified.
if($sqlVersion -ne 13 -and !$IgnoreSQL2016SP2){
throw "Invalid SQL Server Version"
}

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

2 participants