UPDATE: THIS IS NO LONGER REQUIRED
This example was originally published to assist with onboarding new virtual machines in Azure to the Azure Automation DSC service. Based on customer feedback, as of DSC Extension version 2.72, a script to onboard machines is included in DSC Extension.
To leverage the Default Configuration Script, you only need to leave the Settings.Configuration values null and provide values for RegistrationKey, RegistrationID, and NodeConfigurationName.
For more information on Azure Automation DSC (including more examples and usage), please see the Azure Automation DSC Overview.