Cross-Platform CLI Equivalent of New-AzureVMConfig

Find out whether there's a cross-platform CLI equivalent of New-AzureVMConfig.

John Savill

February 5, 2015

1 Min Read
QA

Q: What's the equivalent of New-AzureVMConfig using the Azure cross-platform CLI?

A: Azure has a downloadable PowerShell module that enables full Azure management. If you can't use PowerShell, Microsoft also provides a cross-platform CLI. For details about the Azure cross-platform command-line interface (xplat-cli), see "Install and Configure the Azure Cross-Platform Command-Line Interface." When creating a virtual machine with Azure PowerShell via the New-AzureVMConfig cmdlet, you can create a full configuration, which is then used to actually create a virtual machine. An equivalent of this isn't possible with the cross-platform CLI because data can't be stored between commands. Instead, you'll create the virtual machine as a single operation using the azure vm create command.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like