Popular Posts

SQLblog.com - The SQL Server blog spot on the web

Sunday, September 24, 2017

Powershell to get Results and Messages in SSMS inquiry

SQLServerCentral » Latest topics
Powershell to get Results and Messages in SSMS inquiry
Is there a powershell script that will show both output Results and Messages. 

For example:
Select @@servername

It should show on the powershell output
Result - Server/InstanceName
Messages- (1 row(s) affected

No comments: