Create a new Azure VM
New-LWAzureVM [-Machine] <Machine> [<CommonParameters>]
Create a new Azure VM. The VM role size is gathered from either the default role size, the configured role size in the machine definition or by the memory and CPU consumption.
Depending on the role, a SKU will be selected. SQL Server for example is available as a separate SKU and will be automatically selected.
This cmdlet also takes care of assigning the necessary managed disks, network adapters and is responsible for creating the necessary inbound NAT rules for each new VM
PS C:\> New-LWAzureVM -Machine DC01
Creates the VM DC01
The machine definition to deploy
Type: Machine Parameter Sets: (All) Aliases: Required: True Position: 0 Default value: None Accept pipeline input: False Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.