Skip to content

Commit c1429c4

Browse files
committed
SQL Server 2025 compatibility
1 parent 9a14d77 commit c1429c4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

PowerShell/SetSQLServerStaticPort.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ if($Version -eq 2016){
5656
$MajorVersion = 15
5757
} elseif ($Version -eq 2022) {
5858
$MajorVersion = 16
59+
} elseif ($Version -eq 2025) {
60+
$MajorVersion = 17
5961
}
6062

6163
##Make sure the TCPIP protocol is enabled

0 commit comments

Comments
 (0)