PowerTip: Import colon-delimited file with PowerShell


Summary: Learn how to use Windows PowerShell to import a file that uses a colon as a delimiter.

Hey, Scripting Guy! Question How can I use Windows PowerShell to import a file that is delimited with a colon instead of a comma?

Hey, Scripting Guy! Answer Use the Import-CSV cmdlet and specify the colon as the delimiter, for example:

import-csv -Path C:\fso\applog.csv -Delimiter ':'

Comments (0)

Skip to main content