Skip to content

Instantly share code, notes, and snippets.

@brucedkyle
Last active September 13, 2020 18:59
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 brucedkyle/791f95e847c393cf01c1f75210d9eeee to your computer and use it in GitHub Desktop.
Save brucedkyle/791f95e847c393cf01c1f75210d9eeee to your computer and use it in GitHub Desktop.
Azure Resource Providers
az provider list --query "[].{Provider:namespace, Status:registrationState}" --out table
# register the Microsoft.Batch provider
az provider register --namespace Microsoft.Batch
# show the provider registration state
az provider show --namespace Microsoft.Batch
Get-AzResourceProvider -ListAvailable | Select-Object ProviderNamespace, RegistrationState
# register a provider
Register-AzResourceProvider -ProviderNamespace Microsoft.Batch
# see information about the provider
Get-AzResourceProvider -ProviderNamespace Microsoft.Batch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment