Created
June 28, 2021 20:46
-
-
Save bjornpeters/df01de36de191c07905b21af7e99f170 to your computer and use it in GitHub Desktop.
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
# Install the required module just to be sure | |
Install-Module Az.ConnectedMachine | |
# Create a resource group in the selected subscription | |
New-AzResourceGroup -Name 'azure-arc' -Location 'West Europe' | |
# Download the agent and deploy the machine in the resource group | |
Connect-AzConnectedMachine -ResourceGroupName 'azure-arc' -Name 'hostname of your machine' -Location 'West Europe' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment