I am pretty new to PowerShell. I am having an issue converting returned XML from Fogbugz to a CSV file. It looks like the issue is in most of the fields the string is wrapped in.
Below is the command I am using.
$resp = Invoke-RestMethod $url $resp.response.cases.case | ConvertTo-csv
Sample from output (“xxxx” removed information):
“ixBug”,“operations”,“sTitle”,“sStatus”,“sVersion”,“sPersonAssignedTo”,“sFixFor”,“sPriority”,“tags”
“xxxxx”,“xxxxx”,“System.Xml.XmlElement”,“System.Xml.XmlElement”,“”,“System.Xml.XmlElement”,“S
ystem.Xml.XmlElement”,“System.Xml.XmlElement”,“System.Xml.XmlElement”
“xxxxx”,“xxxxx”,“System.Xml.XmlElement”,“System.Xml.XmlElement”,“”,“System.Xml.XmlElement”,“S
ystem.Xml.XmlElement”,“System.Xml.XmlElement”,“System.Xml.XmlElement”