Skip to content
This repository was archived by the owner on Feb 24, 2019. It is now read-only.
This repository was archived by the owner on Feb 24, 2019. It is now read-only.

MINOR issue with SQLInfo.ps1 #74

@dbadavekc

Description

@dbadavekc

Do you want to request a feature or report a bug?
MINOR Bug
What is the current behavior?
Detects SQL Server 2016 as SQL Server 2014
**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net
Running the "dbareports - SQL Server Information" job
What is the expected behavior?
Should detect major version 13 as "SQL 2016", but instead detects as "SQL 2014".
SUPER SIMPLE FIX - just change line 160/161
if ($VersionMajor -eq 13)
{ $Version = 'SQL 2014' }

to:
if ($VersionMajor -eq 13)
{ $Version = 'SQL 2016' }

Which versions of SQL Server and which OS are affected by this issue? Did this work in previous versions of our procedures?
SQL Server 2016. Don't know about previous versions, as I just started using this awesome product!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions