I installed PowerShell 4 yesterday and ever since then, I get the error "The term 'Invoke-Sqlcmd' is not recognized as the name of a cmdlet, function".
This has been working just fine for months until PowerShell 4.
I have SQL 2012 SP1 installed with CU7. VS 2013 with .NET 4.5.1. As far as I can tell, I have all the latest everything that PowerShell requires.
How can I get this fixed?
Invoke-Sqlcmd : 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. At line:1 char:1