Created
July 23, 2021 13:50
-
-
Save mgreenegit/7b7dca6af82d3c9fe379b2904799f85d to your computer and use it in GitHub Desktop.
Search for built-in policy definitions
This file contains 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
get-azpolicydefinition | | |
? {$_.Properties.PolicyType -eq "BuiltIn" -AND $_.Properties.DisplayName -like "*baseline*"} | | |
select policyDefinitionId -ExpandProperty Properties | | |
select policyDefinitionId, DisplayName | | |
fl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment