This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| Work in progress | |
| Pull build versions into PSObjects from the super-useful https://sqlserverbuilds.blogspot.co.uk | |
| #> | |
| #$Blog = Invoke-WebRequest https://sqlserverbuilds.blogspot.co.uk/ | |
| $TablesHtml = [regex]::Matches( | |
| $Blog.RawContent, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Get-SqlVersionName { | |
| param( | |
| [Version]$Version | |
| ) | |
| $lookup = @{ | |
| 'Name' = ('Major', 'Minor', 'RTM', 'SP1', 'SP2', 'SP3', 'SP4') | |
| '2016' = ( 13, 0, 1601, 4001 ) | |
| '2014' = ( 12, 0, 2000, 4100, 5000 ) | |
| '2012' = ( 11, 0, 2100, 3000, 5058, 6020 ) |
NewerOlder