Cheat Sheet - Azure PowerShell

Cheat Sheet - Azure PowerShell

Get Azure Policy Definitions including DisplayName and Description

Get-AzPolicyDefinition | Select-Object -ExpandProperty 'Properties' Name | Select-Object Name,Description,DisplayName | Format-List

Name        : f0c59b01-a6ab-4c22-bfc7-f7786e03e545
Description : Requires containers to have memory and CPU requests set and constrains requests to be within the specified maximum values.
DisplayName : Gatekeeper Library: Container Requests