Get-AzLocation | select DisplayName, Location
foreach ($sub in Get-AzSubscription -TenantId "7f2a3442-...") { Get-AzPolicyDefinition -SubscriptionId $sub.id | select -ExpandProperty Properties | where {$_.PolicyType -eq "Custom"} | select DisplayName -ExpandProperty Metadata | select DisplayName, createdOn, updatedOn | fl }