Tag Archives: SQL Server

Invoke-SQLCmd minor issue running some SQL Stored-Procedures…

First time I notice something strange with “Invoke-SQLCmd”, I was when executing the system Stored-Procedure “SP_Who2” and got the following error message: PS C:\Users\Max> $sqlWho = Invoke-Sqlcmd “SP_Who2″ Invoke-Sqlcmd : The pipeline has been stopped. At line:1 char:24 + $sqlWho … Continue reading

Posted in PowerShell, SQL Server | Tagged , | Comments Off