How can I export all Azure policy definitions into a CSV
Something like this should work:
Connect-AzAccount
Get-AzPolicyDefinition | Select-Object -Property Name, PolicyType, DisplayName, Description | Export-Csv -Path "./AzurePolicies.csv" -NoTypeInformation