Question: invoke-sqlcmd the term 'invoke-sqlcmd' is not recognized as the name of a cmdlet sql server 2012?
Answer: The term 'Invoke-Sqlcmd' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. Even after adding above in the script . ... powershell automation script - This script installs the .