
1 - 拡張子が .ps1 の Desired State Configuration (DSC) 構成ファイルを作成します。
2 - Import-AzureRmAutomationDscConfiguration Azure Powershellコマンドレットを実行する
3 - Start-AzureRmAutomationDscCompilationJob Azure Powershell コマンドレットを実行する
参考文献:
https://docs.microsoft.com/en-us/powershell/module/azurerm.automation/import-azurermautomationdscconfiguration
https://docs.microsoft.com/en-us/powershell/module/azurerm.automation/start-azurermautomationdsccompilationjob