Skip to content

Instantly share code, notes, and snippets.

Created June 28, 2021 20:45
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
# Connect with the Azure service
# Get available subscriptions within the tenant
# Set the context to the selected subscription
Set-AzContext -SubscriptionId 'subscription ID you want to use'
# Register the required resource providers for Azure Arc
Register-AzResourceProvider -ProviderNamespace Microsoft.HybridCompute
Register-AzResourceProvider -ProviderNamespace Microsoft.GuestConfiguration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment