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
# Connect with the Azure service | |
Connect-AzAccount | |
# Get available subscriptions within the tenant | |
Get-AzSubscription | |
# 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