Thanks for the great initiative to make admins live easy :
 
getting below error - Fixed it by changing Az module command :
 
Get-AzureRMLocation : The term 'Get-AzureRMLocation' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At C:\Users\r\Downloads\Auto\0026-azure-automation-plus-dsc-lab-master\Deploy-AzureResourceGroup.ps1:259 char:16
+ $regions = Get-AzureRMLocation | Select-Object -ExpandProperty Lo ...
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-AzureRMLocation:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
 
This is the new one unable to fix - Please help
 
VERBOSE: Performing the operation "Creating Deployment" on target "rg13".
New-AzResourceGroupDeployment : 4:22:24 PM - Error: Code=; Message=
At C:\Users\r\Downloads\Auto\0026-azure-automation-plus-dsc-lab-master\Deploy-AzureResourceGroup.ps1:293 char:1
+ New-AzResourceGroupDeployment -ResourceGroupName $rg `
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [New-AzResourceGroupDeployment], Exception
+ FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet