SOLVED

EOL PS - Export-Csv only shows GUIDs instead of values

Valued Contributor

Hi,

 

can anybody explain to me why this command doesn't create a proper csv file with values?

I'm using the eol module for modern authentication

 

get-unifiedgroup | ft displayname,notes,primarysmtpaddress,sharepointsiteurl,classification | Export-Csv c:\temp\groups.csv

Content only shows some GUIDs but no values.

csv.png

3 Replies
How about instead: get-unifiedgroup | Select-Object displayname,notes,primarysmtpaddress,sharepointsiteurl,classification | Export-Csv c:\temp\ test.csv -NoTypeInformation
this works, why doesn't my code above?
best response confirmed by Ivan Unger (Valued Contributor)