title: Azure:How to create a VM from MarketPlace using PowerShell
body: <p>How can I create a VM from New MarketPlace through PowerShell scripts? I want to create "SQL Server 2014 Enterprise on Windows Server 2012 R2" VM which is available on Preview Azure Portal.</p>
  
  <p>Get-AzureVMImage cmdlet does not return "SQL Server 2014 Enterprise on Windows Server 2012 R2" VM. </p>
  
  <p>the following command returns no result</p>
  
  <pre><code>Get-AzureVMImage | where {$_.Label -like "SQL Server 2014 Enterprise on Windows Server 2012 R2*"}
  </code></pre>