Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save justinyoo/103ded8b33c49407c50c946f30adea14 to your computer and use it in GitHub Desktop.
Save justinyoo/103ded8b33c49407c50c946f30adea14 to your computer and use it in GitHub Desktop.
Testing ARM Templates with Pester
$DebugPreference = "Continue"
$output = Test-AzureRmResourceGroupDeployment `
-ResourceGroupName my-resource-group `
-TemplateFile .\LogicApp.json `
-logicAppName1 my-new `
-logicAppName2 logic-app `
-ErrorAction Stop `
5>&1
$DebugPreference = "SilentlyContinue"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment