I would like to know how to get the version information of SSMS?
I just want to know the version info which is installed.
I found this
get-childitem <path where ssms.ex is located>\ssms.exe | Format-List VersionInfo
If you mean the SSMS version, click Help-->About from the SSMS menu bar to see your currently installed version. You can also check for a newer version with Tools-->Check for updates.
To see the SQL Server version, Run`SELECT @@VERSION;` from an SSMS query window connected to the database server.
Thanks for your answer.
I mean via Powershell or CLI
SSMS is an IDE for developing queries. What is the context under which you'd need to know the version? Are you trying to invoke SSMS via Powershell, which doesn't make sense to me, and need a particular version? Or are you trying to ensure that SSMS is up to date on a client machine?
10 people are following this question.