Powershell - How to save to CSV file with comma's in the Text
i have content need export csv file, content contains comma's
in other words, have contents such
name, location, phone_num
testing, hometown, ny, 123-456-7890
when exporting data sees 'hometown, ny' value separated due comma before ,ny -but want 'hometown, ny' goto single cell under location.
any ideas on this, or have other options csv file or xlcsv file?
when "hometown, ny", "hometown" example, right? so like, "albany, ny"?
a formatted csv file this:
name,location,number mike,"albany, ny",1234567saying whatever creates csv doesn't this, , powershell should compensate? will every entry in 2nd column have comma? if not, don't see how work.
mike crowley | mvp
my blog -- planet technologies
Windows Server > Windows PowerShell
Comments
Post a Comment