How do i loop through an array of values into a format of Key, value pairs?
$a= Search-AzGraph -Query "Resources | project tags"
$a.tags[0]
Environment : Non-Production
Application : Openshift
AppOwner : AzureOncall
End result should look like
Key Value
Environment Non-Production
Application openshift
$a.tags[0] -replace ':', '=' | ConvertFrom-StringData$a.tags[0].GetType().FullNamereveals, so we know what we're dealing with?