Jump to content
Software FX Community

out-map: Using write-output instead of import-csv


Recommended Posts

PS C:\> gc country.csvCountry,PointsU.S.A.,20Canada,10

Instead of going with import-csv like this:PS C:\> import-csv country.csv|out-map -label country -values points -mapsource world\worldcountries

Might it be possible to add entries directly from a write-output?  Like this:

PS C:\> write-output "Country,Points" `>> "U.S.A.,20" `>> "Canada,10"|out-map -label country -values points -mapsource world\worldcountries>>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...