PowerShell: Control target output of Invoke-Sqlcmd ...
The Error, Warning, Debug, and Information messages returned as errors in different levels. And the equivalent of Verbose messages is the output of PRINT statement. ... When we execute the script using "invoke-sqlcmd" command, we can control these different types of messages, and send them to different clients or to the same client.
DA: 71 PA: 29 MOZ Rank: 26