SQLPS and Powershell 7 GA?
Trying to move from Powershell Windows 5.1 to the new GA of Powershell 7. I use Invoke-SqlCmd via SQLPS in a lot of my scripts. I can't seem to get it installed in 7. I tried Install-Module SQLPS (as admin) and it says it can't find it. Any help is greatly appreciated.
2 comments · 60% upvoted · other discussions
What about using this one?
rwshig [OP] 2 points · Mar 2020
Seems to work. Thanks!