Scripting Blog

A place to learn about PowerShell and share stories of automation

How Can I Parse a Tab-Delimited File and Then Save That as a Comma-Separated Values File?

Hey, Scripting Guy! How can I parse a tab-delimited file, and then save the resulting information as a comma-separated values file?-- DM Hey, DM. You know, yesterday morning the Scripting Guy who writes this column had to scrape the ice off his windshield; today it’s much warmer – 44 at last report – although it is raining. Of course...

How Can I Convert a Comma-Separated Values File to a Tab-Separated Values File?

Hey, Scripting Guy! How can I convert a comma-separated values file to a tab-separated values file?-- RV Hey, RV. Depending on the nature of your comma-separated values (CSV) file this is either very easy or a little bit tricky. Let’s follow the Scripting Guys Philosophy of Life and look at the easy one first. Note. Of course, in our...

How Can I Create a CSV File?

Hey, Scripting Guy! How can I create a CSV file?-- LF Hey, LF. For those of you who aren’t up on your acronyms, CSV is short for comma-separated-values file, a text file in which individual elements are separated by commas. For example, say you have a CSV file consisting of user first names, last names, and job titles; that file might ...

Feedback usabilla icon