User Tools

Site Tools


en:powershell:start

This is an old revision of the document!


PowerShell

Basics

According to me, the first thing we need to deal with is CSV file. First let's read one CSV file, loop over it.

Here is an example of CSV input file.

SamaccountnameMail
abc123abc123@domain.com
def123def123@domain.com
csv.ps1
Import-Csv -Path input.csv | foreach {
 
  $currentLine = $_
 
}
en/powershell/start.1615173916.txt.gz · Last modified: 2021/03/07 22:25 by lonclegr