Azure Resource Provider

Login-AzureRmAccount
Get-AzureRmSubscription -subscriptionID ggdfgdgdgdgdgdgdgdgdgdghfhghgjgjgjgjgjgj -TenantId fsfsfsddgfhfhjgjghsdggkl,jjdfhjh.luyerjkuryut | Set-AzureRmContext

# List all providers and register (if you only want specific ones, you must run commands manually)

$providers = @(Get-AzureRmResourceProvider -ListAvailable)
foreach ($x in $providers)
{ write-host $x.ProviderNamespace }
Write-Host “Done!”
#Register-AzureRmResourceProvider -ProviderNamespace $x.ProviderNamespace -Force

=============================================================

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services

Register-AzureRmResourceProvider -ProviderNamespace Microsoft.Batch

((Get-AzureRmResourceProvider -ProviderNamespace Microsoft.Batch).ResourceTypes | Where-Object ResourceTypeName -eq batchAccounts).ApiVersions

Also..