Summary: Use the Azure Resource Manager cmdlets to export a resource group as a JSON configuration.
I’ve heard that JSON is used to define features in Azure Resource Manager. Is there a way to export a resource group in JSON format?
Just use the Export-AzureRMResourceGroup cmdlet and provide the resource group name. It will automatically save a JSON file that matches the resource group name in your current folder. Here is an example:
Export-AzureRMResourceGroup –resourcegroupname HSG-AzureRG
0 comments