Created
January 16, 2024 20:49
-
-
Save daveRendon/f23d2364d8558ace951ad397eb226c8c to your computer and use it in GitHub Desktop.
Bicep deploy - target subscription
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-AzDeployment -Name $deploymentName -TemplateFile .\main.bicep -TemplateParameterFile .\azuredeploy.parameters.json -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment