我刚开始使用powershell,我已经试着解决这个问题好几个小时了,我仍然不能让它工作。前提条件:
命令我试图运行:
Add-PSSnapinAdd-PSSnapin : The Windows PowerShell snap-in 'Microsoft.Sharepoint.Powershell' is not installe
刚刚安装了sql server 2017 RTM。之后,我安装了SSMS版本17。很有趣的是,这不会安装powershell模块,但是您必须从PowerShell库安装它。在Powershell画廊网站上,我无法手动安装powershell模块。问题是,这里是否有人为sql server 2017安装了最新的sql服务器powershell模块?