Skip to content

Instantly share code, notes, and snippets.

@andrew-kelleher
Created November 12, 2018 12:02
Show Gist options
  • Save andrew-kelleher/5e92328e04722b1d11012cf2ceaeebd1 to your computer and use it in GitHub Desktop.
Save andrew-kelleher/5e92328e04722b1d11012cf2ceaeebd1 to your computer and use it in GitHub Desktop.
Azure Policy Example - example using New-AzureRmPolicyAssignment cmdlet
New-AzureRmPolicyAssignment -Name 'Audit secure transfer to storage accounts' -PolicyDefinition $Policy -Scope $subscription -NotScope $resourceGroup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment