Skip to content

Instantly share code, notes, and snippets.

@PixelRobots
Created August 13, 2017 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PixelRobots/0eefece3861d4e508692c0060a71c5c4 to your computer and use it in GitHub Desktop.
Save PixelRobots/0eefece3861d4e508692c0060a71c5c4 to your computer and use it in GitHub Desktop.
Login-AzureRmAccount -EnvironmentName "AzureCloud"
Register-AzureRmResourceProvider -ProviderNamespace Microsoft.AzureStack
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Azure/AzureStack-Tools/master/Registration/RegisterWithAzure.ps1" -OutFile "C:\tools\RegisterWithAzure.ps1"
c:\tools\RegisterWithAzure.ps1 -azureSubscriptionId YourID -azureDirectoryTenantName YourDirectory -azureAccountId YourAccountName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment