Skip to content

Instantly share code, notes, and snippets.

@briglx
Created November 20, 2019 17:21
Show Gist options
  • Save briglx/a3c25b3e15689903a2ce0ff01e204dbf to your computer and use it in GitHub Desktop.
Save briglx/a3c25b3e15689903a2ce0ff01e204dbf to your computer and use it in GitHub Desktop.
Audit Azure Policies
Get-AzPolicyAssignment | Select-Object -Property Name, ResourceName, Location, @{Name="Scope";Expression={(Select-Object -InputObject $_.Properties.Scope)}}, @{Name="Description";Expression={(Select-Object -InputObject $_.Properties.Description)}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment