Create new VM -VMsize

%3CLINGO-SUB%20id%3D%22lingo-sub-114586%22%20slang%3D%22en-US%22%3ECreate%20new%20VM%20-VMsize%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-114586%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20make%20a%20new%20VM%20using%20the%20command%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%24vmName%20%3D%20%22vSQLUAT%22%3C%2FP%3E%3CP%3E%24vmConfig%20%3D%20New-AzureRmVMConfig%20-VMName%20%24vmName%20-VMSize%20%22Standard_A2%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20instead%20of%20a%20Standard_A2%20I%20want%20to%20use%20a%20D3%20v2%20Promo%2C%20what%20do%20I%20need%20to%20put%20in%20place%20onf%20%22Standard_A2%22%20to%20achieve%20this%3F%20Is%20there%20a%20list%20of%20options%20for%20the%20-VMSize%20option%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-114586%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%20Commands%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EVMSize%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Visitor

Hello, 

 

I am trying to make a new VM using the command:

 

$vmName = "vSQLUAT"

$vmConfig = New-AzureRmVMConfig -VMName $vmName -VMSize "Standard_A2"

 

However instead of a Standard_A2 I want to use a D3 v2 Promo, what do I need to put in place onf "Standard_A2" to achieve this? Is there a list of options for the -VMSize option?

 

0 Replies