powershell - Azure:如何使用 PowerShell 从 MarketPlace 创建 VM

标签 powershell azure

如何通过 PowerShell 脚本从 New MarketPlace 创建虚拟机?我想创建“Windows Server 2012 R2 上的 SQL Server 2014 Enterprise”VM,该 VM 可在预览版 Azure 门户上使用。

Get-AzureVMImage cmdlet 不会返回“Windows Server 2012 R2 上的 SQL Server 2014 Enterprise”VM。

以下命令没有返回结果

Get-AzureVMImage | where {$_.Label -like "SQL Server 2014 Enterprise on Windows Server 2012 R2*"}

最佳答案

试试这个 - 获取 AzureVMImage |其中 {$_.Label -like“Windows Server 2012 R2* 上的 SQL Server 2014 RTM Enterprise”}

关于powershell - Azure:如何使用 PowerShell 从 MarketPlace 创建 VM,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29511704/

相关文章:

c# - Azure - Blob 容器上的列表操作的排序顺序

node.js - 监控运行到 Windows Azure 中的 Node.js 应用程序

c# - Azure 离线同步

powershell - 自动完成用户输入 PowerShell 2.0

validation - 验证用户输入是否符合混合大小写要求

regex - 使用 Powershell 子字符串和正则表达式提取可变数量的标记

powershell - 无法加载文件或程序集

sql-server - PowerShell 中 Invoke-Sqlcmd 的 Unicode 支持

azure - 您可以将 CloudConfigurationManager.GetSetting 用于 AppSettings,连接字符串的等效方法是什么

amazon-web-services - 如何将 RDD 转换为 Dataframe Spark 2.4.5 Python