Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

invoke-sqlcmd : The term 'invoke-sqlcmd' is not recognized

$
0
0

Hello everyone,

I would like to set initial Values in my Database before deploying it.

I do it with PowerShell. The PowerShell command on its own works. But in VS it sais:

"invoke-sqlcmd : The term 'invoke-sqlcmd' is not recognized"

I tried adding these two commands before in my script, but still doesn't work.

Add-PSSnapin SqlServerCmdletSnapin100
Add-PSSnapin SqlServerProviderSnapin100

I would appreciate any kind of help greatly, kind Blessings


Andreas Bolliger


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>