简体   繁体   English

SQL PowerShell Cmdlet如何安装Server 2012

[英]SQL PowerShell Cmdlets How to Install Server 2012

I'm interested in using SQL cmdlets to connect to app server databases on our network in order to read views and process data into Active Directory. 我对使用SQL cmdlet连接到我们网络上的应用服务器数据库感兴趣,以便读取视图并将数据处理到Active Directory中。 Does someone know if these are available for use without buying the full SQL license? 有人知道这些是否可以在不购买完整的SQL许可证的情况下使用吗? I think our company would let me install a fully licensed version of SQL Server, but I was curious if perhaps installing a trial and letting it expire, would still allow use of the cmdlets since I only use PowerShell for my automation tasks and wouldn't actually be using SQL on my scripting server? 我认为我们公司可以让我安装SQL Server的完全许可版本,但我很好奇是否安装了试用版并让其过期,是否仍允许使用cmdlet,因为我仅将PowerShell用于自动化任务,而不会实际在脚本服务器上使用SQL? Thx! 谢谢!

如果您运行的是PowerShell版本5或更高版本,则可以通过运行具有管理员权限的命令Install-Module -Name SqlServer或从Install-Module -Name SqlServer -Scope CurrentUser从PowerShell库中安装官方SQL模块SqlServer。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM