Created
March 10, 2019 16:35
-
-
Save kasunkv/c499af0cc7a2d714ce58ba866ff2d744 to your computer and use it in GitHub Desktop.
Enable Azure Resource Provider using PowerShell
This file contains hidden or 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
# 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