JAEN

PowerShell

Import-Csv

SafeRead CSV as objects

Import-Csv <file.csv>

Loads CSV rows as objects addressable by column — the entry point for roster-driven automation.

Examples

  • Import-Csv users.csv | % { New-ADUser -Name $_.name }Bulk-create from a roster

Syntax

Import-Csv <path> [-Encoding UTF8] [-Delimiter c]

Before you run it

Reading is safe; the pipeline may not be.

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store