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
For example:
Select @@servername
It should show on the powershell output
Result - Server/InstanceName
Messages- (1 row(s) affected
No comments:
Post a Comment