Skip to content

Instantly share code, notes, and snippets.

@kasunkv
Created March 10, 2019 16:35
Show Gist options
  • Save kasunkv/c499af0cc7a2d714ce58ba866ff2d744 to your computer and use it in GitHub Desktop.
Save kasunkv/c499af0cc7a2d714ce58ba866ff2d744 to your computer and use it in GitHub Desktop.
Enable Azure Resource Provider using PowerShell
# Login to Azure Subscription
Login-AzureRmAccount
# Check the registration Status of the Resource Provider
Get-AzureRmResourceProvider -ListAvailable | Where-Object { $_.ProviderNamespace -eq "Microsoft.Compute" }
# Register the Microsoft.Compute Resource Provider
Register-AzureRmResourceProvider -ProviderNamespace "Microsoft.Compute"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment