Created
July 19, 2024 12:25
-
-
Save daveRendon/9504e042b652b1cd83e0f7be4dacf8ba to your computer and use it in GitHub Desktop.
bicep-rg-deploy.ps1
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
| $date = Get-Date -Format "MM-dd-yyyy" | |
| $rand = Get-Random -Maximum 1000 | |
| $deploymentName = "AzInsiderDeployment-"+"$date"+"-"+"$rand" | |
| New-AzResourceGroupDeployment -Name $deploymentName -ResourceGroupName azinsider_demo -TemplateFile .\main.bicep -TemplateParameterFile .\main.bicepparam -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment