Quantcast
Channel: SQLServerCentral » Programming » Powershell » Latest topics
Viewing all articles
Browse latest Browse all 467

Powershell to get Results and Messages in SSMS inquiry

$
0
0
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

Viewing all articles
Browse latest Browse all 467

Trending Articles