Showing results for CSV and other delimited files - Scripting Blog [archived]

Aug 20, 2011
Post comments count2
Post likes count1

Use PowerShell to Work with Any INI File

Doctor Scripto
Doctor Scripto

Summary: Guest Blogger Oliver Lipkau shares two Windows PowerShell functions to simplify reading and writing to INI files.   Microsoft Scripting Guy Ed Wilson here. Today, we have another guest blog post, this one written by Oliver Lipkau. Oliver has written a guest blog post before, and he was a judge for the 2011 Scripting Games. In addition to...

Scripting Guy!Windows PowerShellscripting techniques
Jul 17, 2010
Post comments count0
Post likes count0

Hey, Scripting Guy! Weekend Scripter: Uniquifying and Validating Link Lists with Windows PowerShell

ScriptingGuy1
ScriptingGuy1

  Microsoft Scripting Guy Ed Wilson here. It is a beautiful Saturday morning here in Charlotte, North Carolina, in the United States. The sky is dark blue and there are few if any clouds visible. It almost makes one dizzy while standing in the front yard leaning back and looking upward because there is nothing to give any frame of reference fo...

Scripting Guy!Windows PowerShellscripting techniques
Apr 14, 2009
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Convert a Tab-Delimited File to a Comma-Separated Value File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I have this tab-delimited file that was produced by a report from an old database application. All it knows how to do is make a tab-delimited file. I hate this format, and our other applications do too. I have been opening the thing in Notepad and trying to find and replace tabs with commas, but Notepad does not seem to do a g...

Scripting Guy!Windows PowerShellscripting techniques
Oct 20, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Create Users from a CSV File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! In your last article, you showed how to create random passwords for users and how to write that password out to a CSV file. You said if anyone asked that you would show how to use that CSV file and create a user from it. Well, here I am, asking you. Show me the script. I'll send chocolate.- LZ Hi LZ, Mmm...chocolate. I am gla...

Scripting Guy!Windows PowerShellscripting techniques
Oct 13, 2008
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I Read a CSV File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I am new to scripting, but I have been tasked with creating a script anyway. What I need to do is to read in a CSV file and then perform an operation on each line in the file. I do not know what the correct cmdlet is or what action I need to use. Can you point me in the right direction?- DF Hi DF, Point you in the right direc...

Scripting Guy!Windows PowerShellscripting techniques