SOLVED
Home

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

%3CLINGO-SUB%20id%3D%22lingo-sub-85540%22%20slang%3D%22en-US%22%3EEOL%20PS%20-%20Export-Csv%20only%20shows%20GUIDs%20instead%20of%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-85540%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ecan%20anybody%20explain%20to%20me%20why%20this%20command%20doesn't%20create%20a%20proper%20csv%20file%20with%20values%3F%3C%2FP%3E%3CP%3EI'm%20using%20the%20eol%20module%20for%20modern%20authentication%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3Eget-unifiedgroup%20%7C%20ft%20displayname%2Cnotes%2Cprimarysmtpaddress%2Csharepointsiteurl%2Cclassification%20%7C%20Export-Csv%20c%3A%5Ctemp%5Cgroups.csv%3C%2FPRE%3E%3CP%3EContent%20only%20shows%20some%20GUIDs%20but%20no%20values.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20804px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F16935i1DEB09E72AE2B09C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22csv.png%22%20title%3D%22csv.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-85540%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-85650%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20EOL%20PS%20-%20Export-Csv%20only%20shows%20GUIDs%20instead%20of%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-85650%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwindowsitpro.com%2Fblog%2Fwhy-cant-i-pipe-format-table-export-csv%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwindowsitpro.com%2Fblog%2Fwhy-cant-i-pipe-format-table-export-csv%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-85569%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20EOL%20PS%20-%20Export-Csv%20only%20shows%20GUIDs%20instead%20of%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-85569%22%20slang%3D%22en-US%22%3Ethis%20works%2C%20why%20doesn't%20my%20code%20above%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-85562%22%20slang%3D%22en-US%22%3ERE%3A%20EOL%20PS%20-%20Export-Csv%20only%20shows%20GUIDs%20instead%20of%20values%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-85562%22%20slang%3D%22en-US%22%3EHow%20about%20instead%3A%20get-unifiedgroup%20%7C%20Select-Object%20displayname%2Cnotes%2Cprimarysmtpaddress%2Csharepointsiteurl%2Cclassification%20%7C%20Export-Csv%20c%3A%5Ctemp%5C%20test.csv%20-NoTypeInformation%3C%2FLINGO-BODY%3E
Highlighted
Ivan Unger
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?
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
22 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies