Created
August 23, 2020 04:21
-
-
Save PlagueHO/48e3339513f5a6479dabc8affaecea42 to your computer and use it in GitHub Desktop.
PowerShell Command to deploy Azure Arc Custom Script Extensions using ARM Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-AzResourceGroupDeployment ` | |
-ResourceGroupName '<NAME OF RESOURCE GROUP CONTAINING ARC MACHINES>' ` | |
-TemplateFile ~/AzureArcLinuxCustomScriptExtensions.json ` | |
-TemplateParameterObject @{ | |
MachineName = '<NAME OF AZURE ARC MACHINE>' | |
Location = '<LOCATION OF AZURE ARM MACHINE>' | |
WorkspaceId = '<WORKSPACE ID OF LOG ANALYTICS WORKSPACE>' | |
WorkspaceKey = '<WORKSPACE KEY OF LOG ANALYTICS WORKSPACE>' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment