我创建了新的 Azure VM,并且想要调用一些 SQL Powershell 命令,例如 Import-Module SQLPS -DisableNameChecking
。我没有在虚拟机中安装任何sql服务器,因为我想对我的azure数据库进行操作。所以我需要为其安装任何sql服务器?
最佳答案
无需在虚拟机上安装 SQL Server。但是,VM 上需要有 Azure PowerShell 和 SQLDB PowerShell cmdlet。我建议首先安装 Azure SDK。此链接包含有关步骤的更多信息:http://azure.microsoft.com/en-us/blog/windows-azure-sql-database-management-with-powershell/
希望这有帮助。
托斯顿
关于powershell - azure VM中未加载指定的模块 'SQLPS',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32718673/