PowerShell check SQL Server version.
NOTATKA: Better do this from the Serwer Windows działanie Microsoft SQL Server
1. Uruchomić Windows PowerShell with elevated permissions (jako administrator). As an example, you can do this by Right Mouse Button clicking on the Start button, and selecting WindowsPowerShell (Administrator);
2. Uruchom następne polecenie:
sqlcmd -s <SERVERNAME>\<INSTANCENAME>
NOTATKA: If you use only 1 instance on the server you can use the next command
sqlcmd -s <SERVERNAME>
As example:
sqlcmd -s 21-cm01
3. At the 1> prompt, typ:
select @@version
4. At the 2> prompt, typ:
go
As a result, you must get something like this. (With your server name and SQL Server version)
W moim przypadku, this is SQL Serwer 2017 (RTM-CU13) 14.0.3048.4 (x64)