I have results that I extracted from a CSV file and I want to write them to an xlsx file. This is how I export the results:
gc "C:\\File.csv" | Grou