Practical Sql Queries For Microsoft Sql Server 2008 R2

Additional Invoke-Sqlcmd information can be found at this Microsoft doc: Invoke-Sqlcmd cmdlet. Run inline SQL commands. Finally, you might need to run some SQL queries to verify the database contains the correct data (a sanity check that everything is well). PowerShell has the ability to run inline SQL queries directly from the console window. ................
................