Skip Navigation

DSCForLinux extension on a Ubuntu VM

Last updated: 02-07-2018

This template creates a Ubuntu VM and installs the DSCForLinux extension 2.70 or latest

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service and are made available AS IS without warranty of any kind.


Parameter Name Description
username Username for the Virtual Machine.
password Password for the Virtual Machine.
newStorageAccountName Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed.
vmName Name of the vm, will be used as DNS Name for the Public IP used to access the Virtual Machine.
vmSize VM size
ubuntuOSVersion The Ubuntu version
mode The functional mode, push MOF configuration (Push), distribute MOF configuration (Pull), install custom DSC module (Install)
storageAccountName The name of the storage account that contains the MOF file/meta MOF file/resource ZIP file
storageAccountKey The key of the storage account that contains the MOF file/meta MOF file/resource ZIP file
fileUri The uri of the MOF file/Meta MOF file/resource ZIP file
registrationUrl The URL of the Azure Automation account
registrationKey The access key of the Azure Automation account
location Location for all resources.

Use the template


New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri
Install and configure Azure PowerShell

Command line

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri
Install and Configure the Azure Cross-Platform Command-Line Interface