I'm a PowerShell newbie so please forgive my ignorance.
I have an Azure Analysis Services database, and I'd like to use PowerShell to export data into a CSV file using a DAX query.
I think the Invoke-ASCmd cmdlet is the way to go, but the data outputs into XML format and I'm stuck on how to reformat this into a delimited format (maybe convertfrom XML to JSON and proceed from there?).
Has anyone tried doing something like this before, or am I way off base with what I'm trying to do?