在 powershell Ise 上启动时 sqlcmd 挂起

在 powershell Ise 上启动时 sqlcmd 挂起

我让 sqlcmd(Microsoft 命令行实用程序)在 Powershell Ise 上运行。安装 SSMS 17 和更新的 odbc 驱动程序后,它停止工作。当我启动它时,它就挂了。

它确实在 powershell 控制台上起作用。你对如何修复它有什么建议吗?

我使用 powershell 5.1

答案1

事实证明,安装了最新版本的 odbc 的任何电脑都会停止从 powershell Ise 运行 sqlcmd。它仍然从 powershell 本身运行 sqlcmd。

相关内容